What are the ways around, when the cell reference does not exist

helpme20

Board Regular
Joined
Aug 28, 2010
Messages
102
I have a workbook setup with 3 worksheets. Products, Floor, Cost

some products have two different values. XYZ product my a floor cost that is found on the Floor Cost worksheet, while the same XYZ product will have a real cost that is found on the Cost worksheet.

I have the formula below that toggles between the two values, based on the user changing the drop down list cell between "Floor Cost" and "Real Cost".

=IF($C$1="Floor Cost",INDIRECT(VLOOKUP(C11,$C$284:$D$328,2,FALSE)&"floor"),VLOOKUP(G11,INDIRECT(VLOOKUP(C11,$C$284:$D$328,2,FALSE)&"table"),10,FALSE))

Not all products have a "Floor Cost" value on the Floor worksheet, but all products do have a "Real Cost" listed on the "Cost" worksheet.

My question is: How can I alter the formula above to return the "Real Cost" value when the cell does not exist when the user is in the "Floor Cost" drop down?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Use an IF/ISERROR if the cell doesn't exist, but I think you mean it's blank, so if = 0.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

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