very simple but cant do it

Angliojoe

Board Regular
Joined
Oct 28, 2011
Messages
61
Hello All,

I need a formula to go in E2 that says if a number is displayed in D2 of 1 or more then display the words from B2 in this cell.

So for example if D2 had a value of 4 and B2 had text in it saying 'Club membership then E2 would contain 'Club membership'.

Thank you all,

Joe.
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Angliojoe

Board Regular
Joined
Oct 28, 2011
Messages
61
Hi, I tried that but it still displays B2 even if there isnt a number in D2? Im using the newest Excel if that helps?
 

Angliojoe

Board Regular
Joined
Oct 28, 2011
Messages
61
D2 contains a formula that has numbers in it but doesnt display numbers, would that make a difference?
 

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623

ADVERTISEMENT

D2 contains a formula that has numbers in it but doesnt display numbers, would that make a difference?
Yes.

Post the formula that's in D2.
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
OK, so D2 is a formula that returns either a number, or "" right?


You need to test if it's a number as well..

=IF(AND(ISNUMBER(D2),D2>=1),B2,"")
 

Watch MrExcel Video

Forum statistics

Threads
1,122,461
Messages
5,596,274
Members
414,050
Latest member
Rick Royer

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
Top