Please help me create a formula

Status
Not open for further replies.

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 all the arguments in one formula but failing. Can you please see if you can assist -

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

Drug Code (A)Current Stock (B)Required (C)Transfer From (D)Remaining Stock (E)Transfer Amount (F)
DR0012
10​
30​
DR0033
20​
DR0013
5​
24​
DR0034
66​
DR0014
0​
40​
DR0035
3​
DR0015
20​
60​
DR0036
-75​
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Duplicate Help need creating a formula.

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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