Decision making

Steel

New Member
Joined
Oct 17, 2002
Messages
1
Anyone able to help with this little problem?

I need to set up a decision type

If any cells in column A are 1 then add the cells in column D which are in the rows where 1 is in column A, If any cells in column A is 2 then add the cells in column D which are in the rows where 2 is in column A, if any cells in column A is 3 then add the cells in column D which are in the rows where 3 is in column A, etc, etc.

Hope someone can help.

Thanks
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
can you not do a sumif?

ie.

sumif(a1:a5000,1,d1:d5000)
sumif(a1:a5000,2,d1:d5000)

etc...
 

Forum statistics

Threads
1,181,531
Messages
5,930,441
Members
436,738
Latest member
JFry

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
Top