Vlookups when list includes multiples

ashleighfranklin

New Member
Joined
Sep 27, 2010
Messages
2
Hi there,

I was hoping someone could help me with this. I have tried researching but am not getting anywhere...

Currently I am trying to do a vlookup, to see if I have booked in people for too many hours for any particular day (they are allowed 6 per day but it is tricky because they can be working across several projects).

So it looks something like this:
Project------Name of person allocated-----Monday-----Tues------Wed
Project X---------Person A-----------------------4-------------3-----------4
Project Y----------Person B-----------------------3-------------4-----------3
Project X----------Person C-----------------------6-------------6-----------2
Project Y----------Person A-----------------------3-------------3-----------2
Project Z----------Person A-----------------------2-------------6-----------2
Project X----------Person C-----------------------4-----------2-------------4

The problem is that Vlookup only returns the first item's corresponding cell. Because I need to know if a person has been overbooked for any particular day, I think I need a vlookup that sums all answers together. (I can then do conditional formatting so that if it exceeds 6 then it will show as red/flagged as an issue.

Any help would be greatly appreciated!!

Thanks in advance :)
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Take a look at the sumif function.

if, B holds the peoples names, and C is the column for hours on monday, then
Code:
=sumif(b$2:b$100,"Person Name A",c$2:c$100)

will give the sum of the items in C that have a value in B of "Person Name A"

"Person Name A" can, of course, be replaced by a cell reference.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,477
Messages
6,125,037
Members
449,205
Latest member
Eggy66

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