Conditional format/IF question

mick1222

New Member
Joined
Jun 11, 2011
Messages
4
Hi all, I am trying to find the correct formula for an inventory issue.

If the min qty (cell N1) is not numeric (I will be using DS for items I don't have in stock) then the carrying cost (cell M1) will equal 0. If the min qty (cell N1) is numeric then the carrying cost (cell M1) will equal my cost (cell J1) times * the min qty (cell M1)

Thanks for your help! I'm a newbie with excel formulas.

mIcK
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi all, I am trying to find the correct formula for an inventory issue.

If the min qty (cell N1) is not numeric (I will be using DS for items I don't have in stock) then the carrying cost (cell M1) will equal 0. If the min qty (cell N1) is numeric then the carrying cost (cell M1) will equal my cost (cell J1) times * the min qty (cell M1)

Thanks for your help! I'm a newbie with excel formulas.

mIcK

Try in M1...

=IF(N(N1),N1*J1,0)

There is some confusing reference to M1 and N1 in your description: I took M1 to be the formula cell and N1 as the cell housing Qty value. Adjust to suit.
 
Upvote 0
I did totally screw that up. Sorry.

Here's what it is.

J1= Cost K1=Retail L1=margin % M1=Minimum Quanity N1=Carrying cost

If my min qty (M1) is DP (drop ship) then carrying cost (N1) will be zero. If there is a numeric value in min qty (M1) then my carrying cost (N1) will equal Cost (J1) * Min qty (M1).

N1=?
 
Last edited:
Upvote 0
I did totally screw that up. Sorry.

Here's what it is.

J1= Cost K1=Retail L1=margin % M1=Minimum Quanity N1=Carrying cost

If my min qty (M1) is DP (drop ship) then carrying cost (N1) will be zero. If there is a numeric value in min qty (M1) then my carrying cost (N1) will equal Cost (J1) * Min qty (M1).

N1=?

=IF(M1="DP",0,J1*M1)

or...

=IF(N(M1),J1*M1,0)
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

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