formule help....

G

Guest

Guest
I need some help with this formula...

=IF(D32=0," ",IF(D32>0, D32 &" x "&ROUND(D36/D31+2,0)&" #"&D30&" x "&D28&""""))

Basically, if D32 is either 0 or null, I need it to show null, but if D32 has a value of 1 or more, then use that value in the second if statement. Any advice?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
On 2002-02-26 14:11, Anonymous wrote:
I need some help with this formula...

=IF(D32=0," ",IF(D32>0, D32 &" x "&ROUND(D36/D31+2,0)&" #"&D30&" x "&D28&""""))

Basically, if D32 is either 0 or null, I need it to show null, but if D32 has a value of 1 or more, then use that value in the second if statement. Any advice?

Excel doesn't have a NULL value. If by NULL you mean a null string (a text string of 0 length) use...

=IF(D32>0,D32&" x "&ROUND(D36/D31+2,0)&" #"&D30&" x "&D28&"""","")
This message was edited by Mark W. on 2002-02-26 14:23
 
Upvote 0
If D31 has a value in it then the following might do you, but I'm not sure about the rest of your formula, what is it you're trying to do exactly?

=IF(OR(D32="",D32=0),"",IF(OR(D32<>"",D32<>0), D32 &" x "&ROUND(D36/D31+2,0)&" #"&D30&" x "&D28&""""))
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

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