If then formula referencing another formula

Mexcel73

New Member
Joined
Jun 20, 2024
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am trying to get an If-Then formula to work when referencing another formula. To best explain it, I have uploaded an image. I need B8 to show "ACTUALS".

Thank you.

M



Excel Formula Question.jpg
referencing another formula. To best explain it, I have uploaded an image. I need B8 to show "ACTUALS".

Thank you.

M
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Thanks, that is much better! (y)

Firstly, you said the ISNUMBER formula did not work. Here is that formula and the UPPER formula with the sheet names you originally gave - they both work.

Cell Formulas
RangeFormula
F1:G1F1=IF(ISNUMBER(SEARCH("Actuals",FORMULATEXT(F5))),"ACTUALS","FORECAST")
F2:G2F2=UPPER(INDEX(TEXTSPLIT(FORMULATEXT(F5),{"=","!"}),2))
F3:G3F3=E3+7
F5F5=Actuals!F5
G5G5=Forecast!G5


Now, with the new sheet names here is the ISNUMBER one modified ..

Cell Formulas
RangeFormula
F1:G1F1=IF(ISNUMBER(SEARCH("Actual",FORMULATEXT(F5))),"ACTUALS","FORECAST")
F3:G3F3=E3+7
F5F5='Actual Revenue'!F5
G5G5='Projected Revenue'!G5
 
Upvote 0

Forum statistics

Threads
1,223,931
Messages
6,175,465
Members
452,646
Latest member
tudou

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top