How do I combine a Vlook up function and average?

JennyLH

New Member
Joined
Sep 27, 2012
Messages
5
Hi All

Im currently using a spreadsheet which uses the vlookup function to pull specific data from 3 different worksheets if it meets the criteria and provide me with the total sum of this data.

=VLOOKUP($B4,January!$B$4:$X$44,8,TRUE)+(VLOOKUP($B4,February!$B$4:$X$44,8,TRUE)+(VLOOKUP($B4,March!$B$4:$X$44,8,TRUE)))


However I also want to be able to caculate the average of these 3 figures (if I divide the above formula by 3 it's not given me the average)

Does anyone have any idea on how I could combine average with the above formula or if there is another formula I could use?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
That means that the average you need is not the average of just this three months ?
 
Upvote 0
If you divide by three without wrapping your summed numbers in parenthesis you are actually performing x + y + (z/3). What you will want to do is (x+y+z)/3 or I assume you could wrap an AVERAGE() function around all the vlookups (example: =AVERAGE(VLOOKUP + VLOOKUP + VLOOKUP) )
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

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