weird

RET79

Well-known Member
Joined
Mar 19, 2002
Messages
526
hi

in cell B2 i have this written

YV>100

in B3 I want to write

=IF(B2,NUM,"")

which should be equal to

=IF(YV>100,NUM,"")

but it's not.

Gosh, I have a feeling someone is going to show me up on this one, any help appreciated thanks.

RET79
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
On 2002-04-16 19:43, RET79 wrote:
hi

in cell B2 i have this written

YV>100

in B3 I want to write

=IF(B2,NUM,"")

which should be equal to

=IF(YV>100,NUM,"")

but it's not.

Gosh, I have a feeling someone is going to show me up on this one, any help appreciated thanks.

RET79
It is not clear what you are trying to accomplish ... if you are trying to say that if there is a number in cell B2, then put the entry "NUM" in cell B3 otherwise leave cell B3 blank, then put in cell B3

=IF(ISNUMBER(B2),"NUM","")

Please post back if it works for you ... otherwise explain a little further and let us take it from there!
 
Upvote 0
On 2002-04-16 19:43, RET79 wrote:
hi

in cell B2 i have this written

YV>100

in B3 I want to write

=IF(B2,NUM,"")

which should be equal to

=IF(YV>100,NUM,"")

but it's not.

Gosh, I have a feeling someone is going to show me up on this one, any help appreciated thanks.

RET79

like cornbread i'm not quite sure what you want, but if B2 has literally what you wrote in your post the formula won't work because it's referring to text. for text you could use =IF(ISTEXT(B2),"NUM",""), which just tests whether there is text in the cell. if YV>100 is supposed to be a logical test should it be =YV>100, where YV is a named range or some other kind of reference? then it should work.
 
Upvote 0
On 2002-04-16 19:43, RET79 wrote:
hi

in cell B2 i have this written

YV>100

in B3 I want to write

=IF(B2,NUM,"")

which should be equal to

=IF(YV>100,NUM,"")

but it's not.

Gosh, I have a feeling someone is going to show me up on this one, any help appreciated thanks.

RET79

Are "YV" and "NUM" defined names?
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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