#1   Report Post  
Matt T
 
Posts: n/a
Default VLOOKUP, I think

In a relitively small test table I am trying to look up. I am trying to use
VLOOKUP. In Sheet 1, I have a table which contains various properties in
column B and the cost of the job for the property in column E.

On Sheet 2, I have a list of all the properties next to which i want to
return the total cost of all jobs in Sheet 1, I can do this using
=VLOOKUP(A1,Sheet 1!B5:E35,4,TRUE). But this will only return the last time
that the property is mentioned in the table. ie. If '1 Helston Road' is in
'A1' but then appears twice in Sheet 1 eg. B6 and B32 the formula will return
the price in E32. I would either like it to return the Sum of E6 and E32 or
the Value of E6 in one cell and then the Value of E32 in the cell immediately
to it's right.

I hope that I have explained this well enough for someone to understand.

Thank you in advance for any help you can give.

I'm sure that when I find the answer to this it will seem very simple.

Matt Townsend
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use SUMIF. e.g.
=SUMIF('sheet1'!B5:B35,A1,'sheet1'!E5:E35)

"Matt T" wrote:

In a relitively small test table I am trying to look up. I am trying to use
VLOOKUP. In Sheet 1, I have a table which contains various properties in
column B and the cost of the job for the property in column E.

On Sheet 2, I have a list of all the properties next to which i want to
return the total cost of all jobs in Sheet 1, I can do this using
=VLOOKUP(A1,Sheet 1!B5:E35,4,TRUE). But this will only return the last time
that the property is mentioned in the table. ie. If '1 Helston Road' is in
'A1' but then appears twice in Sheet 1 eg. B6 and B32 the formula will return
the price in E32. I would either like it to return the Sum of E6 and E32 or
the Value of E6 in one cell and then the Value of E32 in the cell immediately
to it's right.

I hope that I have explained this well enough for someone to understand.

Thank you in advance for any help you can give.

I'm sure that when I find the answer to this it will seem very simple.

Matt Townsend

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup finds a blank, but returns a zero - HELP! flummoxed Excel Discussion (Misc queries) 6 January 18th 05 03:15 PM
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM
Using Cell references in VLookUp JonWilson631 Excel Worksheet Functions 1 November 4th 04 02:49 AM
vlookup. Amit Excel Worksheet Functions 2 November 3rd 04 12:34 PM


All times are GMT +1. The time now is 05:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"