I'd like to have the TRUE value, "XL Moab POD Substrate", replace the text value of H38. Can this be done?
=IF(OR($F$38="36x48 POD size",$F$38="30x40 POD size",$F$38="42x56 Pod size",F38="48x64 Pod size"),"XL Moab POD Substrate","")
Last edited by firehousetk; 11-02-2011 at 01:57 PM.
Welcome to the forum! All code (including formulas) must be surrounded with code tags so they will display properly. Please edit and use [ code ] and [ / code ] tags, and I'll post your solution afterwards. I can be penalized for replying beforehand... Note: the code tags have no spaces in them.
Last edited by tlafferty; 11-01-2011 at 12:44 PM. Reason: Further explanation
If your question has been satisfactorily addressed, please consider marking it solved. Click here to see how.
Also, you might want to add to the user's reputation by clicking the scales icon - it's why we do what we do...
Thomas Lafferty
Analyst/Programmer
Thanks very much for the heads-up! I need to read the rules a little more closely.=IF(OR($F$38="36x48 POD size",$F$38="30x40 POD size",$F$38="42x56 Pod size",F38="48x64 Pod size"),"XL Moab POD Substrate","")
[code]=IF(OR($F$38="36x48 POD size",$F$38="30x40 POD size",$F$38="42x56 Pod size",F38="48x64 Pod size"),TRUE,"") OR =IF(OR($F$38="36x48 POD size",$F$38="30x40 POD size",$F$38="42x56 Pod size",F38="48x64 Pod size"),,"")
If your question has been satisfactorily addressed, please consider marking it solved. Click here to see how.
Also, you might want to add to the user's reputation by clicking the scales icon - it's why we do what we do...
Thomas Lafferty
Analyst/Programmer
I should clarify, I think:
See attached xls. This argument is going to be for a macro so the argument can live anywhere, really.
I need to change the text that is in cell H38 from "Moab POD Substrate" to "XL Moab Substrate IF the value of the argument,is TRUE.=IF(OR($F$38="36x48 POD size",$F$38="30x40 POD size",$F$38="42x56 Pod size",F38="48x64 Pod size"),"XL Moab POD Substrate","")
OK - not quite sure yet what all your macro will be doing, but as a start, we can simplify your formula to an array of values instead of repeating $F$38 for each test:If there will eventually be more than these values, I'd suggest a lookup table to a named range such as Products=IF(OR($F$38={"36x48 POD size","30x40 POD size","42x56 Pod size","48x64 Pod size"}),"XL Moab POD Substrate","")I'm also wondering if you could explain only examining $F$38, but I'm betting a chance to look at your code could solve that problem.=IF(NOT(ISERROR(VLOOKUP($F$38,Products,1,FALSE))),VLOOKUP($F$38,Products,1,FALSE),"")
Will you be iterating through the column marked sub and replacing values?
If your question has been satisfactorily addressed, please consider marking it solved. Click here to see how.
Also, you might want to add to the user's reputation by clicking the scales icon - it's why we do what we do...
Thomas Lafferty
Analyst/Programmer
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks