ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   match cell text with text in formula (https://www.excelbanter.com/excel-worksheet-functions/7709-match-cell-text-text-formula.html)

Todd L.

match cell text with text in formula
 
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

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



"Todd L." wrote:

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


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




"Peo Sjoblom" wrote:

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



"Todd L." wrote:

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


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))

--
Regards
Frank Kabel
Frankfurt, Germany

"Todd L." schrieb im Newsbeitrag
...
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




All times are GMT +1. The time now is 11:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com