match cell text with text in formula

T

Todd L.

I have one column with worksheet names in it and a second column with
formulas that use the adjacent worksheet name. Is there a formula or a way
to use conditional formatting to check if the formulas have the correct sheet
name in them?

Column A Column B
Apexel If(Apexel ! D10 = 3, F10*16)


TIA


Todd
 
P

Peo Sjoblom

Ho do you know if it is incorrect, what result do the formula give indicating
it is not correct? Use that criteria for you conditional formatting, so if it
gives an error you can use formula is and

=ISERROR(your_formula)

if it returns a zero if it is incorrect use

=your_formula=0


Regards,

Peo Sjoblom
 
T

Todd L.

Thank you.

What I am thinking of is if when a user adds sheets or rows later the
formulas might get pointed to the wrong sheets the user wouldn't know it. I
have a check that sums all the cells and compares them in total. I am
looking for a way to pinpoint which formulas have changed.


Todd
 
F

Frank Kabel

Hi
if you would use INDIRECT it may be possible. e.g. try in B1:
=IF(ISERROR(INDIRECT("'" & A1 & "'!D10")),"ERROR in
sheetname",If(INDIRECT("'" & A1 & "'!D10")= 3, F10*16))
 

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

Top