vlookups

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Vlookups

Vlookups

resolvedResolved · Urgent Priority · Version 2010

Andrea has attended:
Excel Intermediate course
Excel Advanced course
Excel Advanced course

Vlookups

I want to create a vlookup/if statement whereby the value for one person could be 2 or 3 different amounts added together in one workbook, what would the formula be?

Edited on Wed 11 May 2016, 10:59

RE: Vlookups

Hi Andrea

Thanks for your question.
There are different ways in Excel to summarise total amounts for each person. Either use a formular function, a PivotTable or by the Subtotal feature. (Data, Subtotal).

Here's how to total amounts by person with a SUMIF function.

------A---- ------B------
First Name Amount
Steph 9
Diane 6
Diane 20
Diane 15
Anne 8
Steph 13
Terence 14
Terence 10
Diane 9
Linda 9
Diane 20
Steph 13
Diane 15
Linda 20


Amount Summary

Steph 35
Diane 85
Anne 8
Terence 24
Linda 29


=SUMIF($A$2:$A$16,A21,$B$2:$B$16)

This formula works out that Steph's total of 9, 13 and 13 is 35

=SUMIF(Range of names, A21, Range of amounts)

A21 is the criteria ("Steph") and when this founction is copied down it calculates the total for Diane.

Also the $ signs are needed to fix the ranges so the references don't change whn the formula is copied.

Hope this helps with your question.

Regards
Doug
Best STL

Will be marked as resolved in 5 days

Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.

Fri 27 May 2016: Automatically marked as resolved.


 

Excel tip:

Make a quick copy of a worksheet

Hold down the Ctrl key, then click and drag on a sheet tab to make a copy of that sheet. Though this process usefully copies the formats of the original sheet, note that any Range Names you have on the original sheet will be duplicated too.

To make a copy of a worksheet's contents and formats without duplicating range names: (1) Ensure that you have a blank worksheet to paste to. (2) On the sheet to copy, click on the sheet selection square to the left of Column A's heading to select the whole sheet. (2) Copy the whole sheet. (3) Paste to the blank worksheet.



View all Excel hints and tips


Server loaded in 0.06 secs.