Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Using a second variable within a formula...
Hi,
Currently I am using this formula: =IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'!V6*100) Which returns 'Spot Cost' if the value of V6 on the raw data sheet is zero or a multiple of 100 if it is greater than zero. This is fine. The problem I have however, is when the value of 'V6' is blank (i.e. just a space or no data entered) my return from the formula is '#VALUE!' and I need to create a caveat within the formula to cover it. For example, if the value of V6 is blank then ideally I would like a return of 'Spot Cost'. How would I go about doing this? Any help would be really really appreciated. Kind regards, Ed. |
#2
|
|||
|
|||
=IF(OR('Raw Data Sheet'!V6=0,'Raw Data Sheet'!
V6=""),"Spot Cost",'Raw Data Sheet'!V6*100) HTH Jason Atlanta, GA -----Original Message----- Hi, Currently I am using this formula: =IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'! V6*100) Which returns 'Spot Cost' if the value of V6 on the raw data sheet is zero or a multiple of 100 if it is greater than zero. This is fine. The problem I have however, is when the value of 'V6' is blank (i.e. just a space or no data entered) my return from the formula is '#VALUE!' and I need to create a caveat within the formula to cover it. For example, if the value of V6 is blank then ideally I would like a return of 'Spot Cost'. How would I go about doing this? Any help would be really really appreciated. Kind regards, Ed. . |
#3
|
|||
|
|||
Thanks - much appreciated.
"Jason Morin" wrote: =IF(OR('Raw Data Sheet'!V6=0,'Raw Data Sheet'! V6=""),"Spot Cost",'Raw Data Sheet'!V6*100) HTH Jason Atlanta, GA -----Original Message----- Hi, Currently I am using this formula: =IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'! V6*100) Which returns 'Spot Cost' if the value of V6 on the raw data sheet is zero or a multiple of 100 if it is greater than zero. This is fine. The problem I have however, is when the value of 'V6' is blank (i.e. just a space or no data entered) my return from the formula is '#VALUE!' and I need to create a caveat within the formula to cover it. For example, if the value of V6 is blank then ideally I would like a return of 'Spot Cost'. How would I go about doing this? Any help would be really really appreciated. Kind regards, Ed. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
revert formula insertion to old method | Setting up and Configuration of Excel | |||
Relative Indirect Formula Referencing? | Excel Worksheet Functions | |||
Help with macro formula and variable | Excel Worksheet Functions | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions |