Help need creating a formula.

crazy_papaya

New Member
Joined
Feb 10, 2020
Messages
28
Office Version
  1. 2016
Platform
  1. Windows
  2. Web
Hello all,

I am trying to put it all in one formula together but failing. It might be easier for you i think, please see if you can assist me -

1) H2 should be equal to C2 but if G2 is less than C2 then H2 should G2
2) If H2 is in negative then it should be either "0" or " No transfer required "

Drug CodeCurrent StockRequiredTransfer FromRemaining StockTransfer Amount
DR0012
10​
30​
DR0033
20​
20
DR0013
5​
24​
DR0034
66​
DR0014
0​
40​
DR0035
3​
DR0015
20​
60​
DR0036
-75​
 
Ok, i'll need to think deeply on this...
I'll get back to you

(Sorry! Not the best person with this logic stuff. I just follow managers order :P)
 
Upvote 0

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).
Fluff, at the end of my deep thinking exercise I was able to create the formula myself -

=IF(I3<N3,"Insufficient Stock",IF(N3<=0,"Stock Available",MIN(I3,N3)))

Of course this was created based off all the formulas you have helped build so far so big thanks to you ?
 
Upvote 0

Forum statistics

Threads
1,215,767
Messages
6,126,774
Members
449,336
Latest member
p17tootie

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