formule help....

  • Thread starter Thread starter Guest
  • Start date Start date
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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,223,320
Messages
6,171,432
Members
452,402
Latest member
siduslevis

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