I need to compare two formulas that are being fed different raw d.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to automatically compare the text of two formulas from different
spreadsheets. Because the formulas are being fed different raw data they
return different results. When I use the 'exact' function to compare whether
the formulas are identical it evaluates the results of the formulas, not the
actual text of the formulas. This is returning to an incorrect "false".
 
Steve K. said:
I am trying to automatically compare the text of two formulas from different
spreadsheets. Because the formulas are being fed different raw data they
return different results. When I use the 'exact' function to compare whether
the formulas are identical it evaluates the results of the formulas, not the
actual text of the formulas. This is returning to an incorrect "false".

Can you post your current code?

/Fredrik
 
Try the .Formula property of the respective range or .FormulaR1C1

Greetings Jonjo
 
I am not writing this as code. I have found a VB function that will allow me
to evaluate the cell formulas from within the spreadsheet,
http://www.cpearson.com/excel/GetInfo.htm, but I am not well versed enough to
understand how to make the function available to my Excel environment.
Apparently I need to install it?
 
I am not writing this as code. I have found a VB function that will allow me
to evaluate the cell formulas from within the spreadsheet,
http://www.cpearson.com/excel/GetInfo.htm, but I am not well versed enough to
understand how to make the function available to my Excel environment.
Apparently I need to install it?
 
in each workbook where you want to use the function, go to the VBE and with
that workbook as the active project, do Insert=>Module. Paste the code into
that module.

then you should be able to use it in you worksheets in that workbook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top