IF and Statement?

WormJacob

New Member
Joined
Jan 8, 2018
Messages
18
Hi,

Please help.. Need a formula. I couldnt make the string?:confused::confused:

i NEED FORMULA ON "H" that will output the following scenario? many thanks

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D
(TOTAL b &c)[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]NO DEMAND[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]In Process[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]Need to Order[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Healthy Stock[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]-15[/TD]
[TD]Pulled beyond[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]


[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A-
To pull[/TD]
[TD]B-Production[/TD]
[TD]C-
Finish[/TD]
[TD]D
(TOTAL b &c)[/TD]
[TD]E-Order[/TD]
[TD]F-Shimpment[/TD]
[TD]G-
Order_Balance[/TD]
[TD]H-[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]NO DEMAND[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]In Process[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]Need to Order[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Healthy Stock[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]-15[/TD]
[TD]Pulled beyond[/TD]
[/TR]
</tbody>[/TABLE]

Hi,
Thanks for quick replied

I just added a label on each column. i want to have a result on column H where my scenario. The main is column "E" order.

Line 1 "E" ZERO order : Result no demand
Line 2: "E" order 20 and C is not enough to cover but have 10 in "B" prod. : Result in process
Line 3 : "E" order for 15 but zero on "C" : Result Need to order
Line 4 : "E" zero order but have plenty in Finish Good : Result Healthy stock
Line 5 : "E" zero in order (15 "F" suppose to be ..I forgot) and Balance "G" -15 ; Result Pulled beyond

Thank you in advance


[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
To help clarify, what would the results be for rows 7 and 8 below and why?


Book1
ABCDEFGH
1To pullProductionFinishTotalOrderShipbalance
20000000NO DEMAND
3010102020020In Process
41500015015Need to Order
5002020000Healthy Stock
615000015-15Pulled beyond
751020
8151020
Stock
 
Upvote 0
Hi

Thank you for clarifying.. Row7 & Row 8 was an error .. it was NOT supposed to be there.I probably mistakenly added.

thank you in Advanced
 
Upvote 0
I think you missed my point. What would go in column H if the data was as I showed in my rows 7 and 8?
 
Upvote 0
Hi,

Sorry .. Yeah I did missed your point..
7 & 8 result will be both "IN PROCESS"

Why?
Both Column "E" orders are for 20 and i don't have enough in Column "C" finish product.

thank you
 
Upvote 0
7 & 8 result will be both "IN PROCESS"

Why?
Both Column "E" orders are for 20 and i don't have enough in Column "C" finish product.
I'm struggling a bit with row 7 being "In progress". In that row, as I understand it, Total would be 15, which isn't enough for the Order of 20 so why isn't the result "Need to order" like row 4 which also fits the blue description.?
 
Last edited:
Upvote 0
Ohh My (That is my Baaddd)))

ROW 7 will be : Need to Order since only 15 total i have while the order is 20
Row 8 In Process

Thank you ..
 
Upvote 0
Thanks for clearing that up. Try this formula, copied down. You will just have to fill out the text parts as I have just used abbreviations :)

Excel Workbook
ABCDEFGHI
1To pullProductionFinishTotalOrderShipBalanceResultExpected
20000000NDNO DEMAND
3010102020020IPIn Process
41500015015NtONeed to Order
5002020000HSHealthy Stock
615000015-15PBPulled beyond
75101520NtONeed to Order
815102520IPIn Process
Stock
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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