An easy one

elvezrulz

New Member
Joined
Mar 14, 2011
Messages
32
I love this forum because I always get an answer quickly and it always helps! Here's an easy one. I need a formula that will give me a negative number in column c when column a is a positive and column b is N/A. Column a represents orders, column b represents inventory and column c is supposed to be inventory after orders are filled, and when there is no inventory I need it to reflect a negative number. The formula in the example is what I have in there now. Sorry for my ignorance!

A.....................B.........................C
Orders.........Inventory.............Net Inventory
100................N/A.....................=A3-B3
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Will only column B have the N/A?
And is the N/A just a text string, or is it an error result of a formula?

If only column B has the N/A, and it's jsut a text string, not a formula error,
then try

=IF(ISNUMBER(B3),B3-A3,-A3)

something tells me you actually want B3-A3 (Inventory-Orders)
Rather than Orders-Inventory..
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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