If Statement for all row

prakashjoshi87

New Member
Joined
Jun 9, 2015
Messages
11
i have condition in one column and i want to use if statement for all row's which we have condition in column.

See here

RoutingITEM 1
A256,000
B300,000
A256000
B300000

<colgroup><col width="102"><col width="64"></colgroup><tbody>
</tbody>

if routing =A then item 1 cost is 256000
if routing = B then item 1 cost is 300000
etc
now i want is condition for all row
Pls help
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
prakashjoshi87, Good morning.

I'm not sure if I understood correctly your necessity.

Try to use:

AB
1RoutingItem 1
2a=IF(A2="a",256000,IF(A2="b",300000,""))
3b

<tbody>
</tbody>

Copy the formula of B2 down.

Is that what you're looking for?
I hope it helps.
 
Upvote 0
Thanks for Reply
But i want it on Vb code
see

ORDER QTYPROCESSLoad for ProcessLoad for ProcessLoad for Process
450001+2+3450004500045000
500001+35000050000
60001+260006000
650001+2+3650006500065000
700001+27000070000

<tbody>
</tbody>

This is the sheet
in process column if i choose 1+2+3 then automatic load will show on process 1,process 2 and process
or if i choose 1+3 then load will show on process 1 and process 3

hope you understatnd
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,790
Messages
6,132,707
Members
449,753
Latest member
swastikExcel

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