Need Help With Array Formula

hotchix

New Member
Joined
Jan 28, 2005
Messages
8
I'm going crazy trying to figure out this formula. I setting up a timesheet and I have a list of 200 project codes in cells z7:z207. In cells a7:a21 is a place that I enter the project codes that I worked on this month. In cells b7:b21 is where I enter the number of hours that I worked on the project codes in cells a7:a21.

I want to write a formula that compares the project codes in cells a7:a21 with the project codes in cells z7:z207. For those project codes that are contained in both ranges, I want to sum cells b7:b21.

If anyone could help with this formual I would greatly appreciate it.

Thank You in Advance!
:rolleyes:
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Thank you very much for the quick response. I applied your formula and it worked. I'm new to this forum and I think it provides a great service. Thanks again for taking the time to help me.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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