VlookUp to sum up more than one column or value

gebo84

Board Regular
Joined
Nov 6, 2014
Messages
96
Office Version
  1. 365
Platform
  1. Windows
I have a "tasks data" spreadsheet where i am capturing staff daily activities.
For example in column A is Monday, B is Tuesday and so on, with times down the rows in 15 min intervals, the staff member would then fill this out as the day progresses on tasks they have performed. I am trying to accumulate the total time taking for each task at the end of the week. So in Mondays column they may have "emails" down 2 or 3 times. the formula i have been working with is only capturing the first instance of "emails" in each column and not recognizing the other entries, i need help coming up with a formula that will look at the table and return total values for each task.

=(VLOOKUP(L4,A5:J20,{2,4,6,8,10},0))

this is the formula i am working with

L4 being the word "emails"
A5:J20 being the table of data i need to look at
2,4,6,8,10 are the column numbers i need the formula to look into to return the total sum

can anyone help?

thanks
George
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Maybe this array formula
=SUM(IF(A5:A20=L4,IF(MOD(COLUMN(B5:J20)-COLUMN(B5)+1,2)=1,B5:J20)))
confirmed with Ctrl+Shift+Enter, not just Enter

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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