Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLOOKUP and sums?

Status
Not open for further replies.

mattygriff

Programmer
May 14, 2001
350
GB
I have a table as follows.

Code:
A       B               C
13	Mar-2008	£2,095,154.10
14	Apr-2008	£1,808,448.11
15	May-2008	£1,027,256.12
16	May-2008	£965,029.63
17	Jun-2008	£3,112,928.28
18	Jul-2008	£1,937,584.56

I need to get the value from column C into a separate sheet based on the value of column B. To date I have been using VLOOKUP but that doesn't work when you have multiple entries for the same month as in 15 and 16 above.

Is there a way to retrieve the sum of any such multiple entries using VLOOKUP or am I going to have to code something?

Thanks in advance.
 





Hi,

Try using the SUMIF function.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Thanks Skip - easier than I could have possibly hoped!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top