Vlookup and Sum

C

Chris Hankin

Hello, could someone please help me with the following?

I need Excel 2003 to Vlookup column G and look up the number: 100206.
Then, I need it to sum all the values in column O and place the final
summed figure in cell: AA3.

I am using Windows XP and Excel 2003.

The title heading for column G (cell: G2) is: Cost Centre Code
(Baseline).

The title heading for column O (cell: O2) is: Actual Expenditure
(inc.GST).

The name of the worksheet is: Register.

Any help with this would be greatly appreciated.

Kind regards,

Chris.



*** Sent via Developersdex http://www.developersdex.com ***
 
D

Dave Peterson

If AA3 is on the same "Register" worksheet, you can use:

=sumif(g:g,100206,o:eek:)
if the value is a real number
or
=sumif(g:g,"100206",o:eek:)
if the value is text (not a number)

If AA3 cell is on a different sheet:
=sumif(Register!g:g,100206,Register!o:eek:)
or
=sumif(Register!g:g,"100206",Register!o:eek:)


Each of these will sum the values in column O only if the value in column G is
100206/"100206".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top