Need to pull values from different sheets by referencing adjacent names...

vanhoand

New Member
Joined
Sep 12, 2014
Messages
2
I'll try to make this as straightforward as possible. Using Win7, Office2010.

I have a spreadsheet with multiple worksheets (for different days) that lists the names of students and then a total amount due for each student next to those names for each day. The names in each spreadsheet are not always the same and are not always in the same order. In a separate worksheet, I need to sum the total due for each individual name from all of the other worksheets.

So for example, if I'm trying to sum all the amounts due for Jane Doe from each worksheet, I can't just pull and sum values from B5 (assuming that's where she is listed in the 1st worksheet) because on subsequent sheets, her total due for that day might be down at B7 or some other cell in that column. It will be in the same column though.

I know I could filter each worksheet alphabetically to at least get all the names in a common order, but that solution doesn't work if the exact same number of student names are above her in each worksheet (which would be unlikely).

What would be the best way to do this? I'm guessing a script would be ideal but I'm a novice in terms of writing them.

Thanks!
 

Some videos you may like

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

vanhoand

New Member
Joined
Sep 12, 2014
Messages
2
OK thanks. I'll look into those. Are there different types or something more specific I should look at?
 

Watch MrExcel Video

Forum statistics

Threads
1,109,363
Messages
5,528,263
Members
409,811
Latest member
pjwhyman

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top