Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default V Lookup between worksheets in same file


I'm trying to sum quarterly hours depending on employee name. Employee name
resides in column A of each worksheet. I have name defined the areas on the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default V Lookup between worksheets in same file


Vlloup won't work across multiple sheets but Sum will. use indirect to get
the address and feed it into a sum like this. Mtch will return the row
number where the person name was found provided the range starts in row 1.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr|A1:A100)))


"Alberta Rose" wrote:

I'm trying to sum quarterly hours depending on employee name. Employee name
resides in column A of each worksheet. I have name defined the areas on the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default V Lookup between worksheets in same file


What is the vertical symbol between Apr and A1?

"Joel" wrote:

Vlloup won't work across multiple sheets but Sum will. use indirect to get
the address and feed it into a sum like this. Mtch will return the row
number where the person name was found provided the range starts in row 1.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr|A1:A100)))


"Alberta Rose" wrote:

I'm trying to sum quarterly hours depending on employee name. Employee name
resides in column A of each worksheet. I have name defined the areas on the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default V Lookup between worksheets in same file


It was a typo. Should of been ! to indicate the sheet name and range. I
performed a lookup of the Apr sheet for the employeee name. It doesn't make
a difference which sheet to use for the match becasue all the sheets have the
same employee in the same row.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr!A1:A100)))




"Alberta Rose" wrote:

What is the vertical symbol between Apr and A1?

"Joel" wrote:

Vlloup won't work across multiple sheets but Sum will. use indirect to get
the address and feed it into a sum like this. Mtch will return the row
number where the person name was found provided the range starts in row 1.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr|A1:A100)))


"Alberta Rose" wrote:

I'm trying to sum quarterly hours depending on employee name. Employee name
resides in column A of each worksheet. I have name defined the areas on the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default V Lookup between worksheets in same file


the same employee is not always on the same row, as some employees are added
and some deleted. When I type this formula in, I get a N/A# error. I've
made sure all numerical cells are formatted as number.



"Joel" wrote:

It was a typo. Should of been ! to indicate the sheet name and range. I
performed a lookup of the Apr sheet for the employeee name. It doesn't make
a difference which sheet to use for the match becasue all the sheets have the
same employee in the same row.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr!A1:A100)))




"Alberta Rose" wrote:

What is the vertical symbol between Apr and A1?

"Joel" wrote:

Vlloup won't work across multiple sheets but Sum will. use indirect to get
the address and feed it into a sum like this. Mtch will return the row
number where the person name was found provided the range starts in row 1.

=SUM(indirect("Apr:Jun!A"&match(A5,Apr|A1:A100)))


"Alberta Rose" wrote:

I'm trying to sum quarterly hours depending on employee name. Employee name
resides in column A of each worksheet. I have name defined the areas on the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default V Lookup between worksheets in same file


Maybe adapt this to your needs to find person in f11 and sum the entire row
=SUM(INDIRECT(MATCH(F11,G:G,0)&":"&MATCH(F11,G:G)) )

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Alberta Rose" wrote in message
...
I'm trying to sum quarterly hours depending on employee name. Employee
name
resides in column A of each worksheet. I have name defined the areas on
the
sheets where the data resides as APR MAY JUN.

=vlookup(A5, Apr:Jun - what's next????

I want excel to look at the name in cell A5 on each sheet and if there is
a
match, go to cell B5 and sum, C5, D5, etc. etc.

How do I do this? Help please...

Thanks, Laurie


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
Lookup between two worksheets whatzzup New Users to Excel 8 August 18th 07 05:39 PM
Lookup between two worksheets whatzzup New Users to Excel 0 August 17th 07 01:58 AM
Lookup between two worksheets Mike H New Users to Excel 0 August 17th 07 01:44 AM
lookup for criteria from either of 2 worksheets. Afolabi Excel Discussion (Misc queries) 1 July 7th 06 01:14 AM
Lookup across multiple worksheets DCSwearingen Excel Worksheet Functions 2 August 29th 05 03:03 PM


All times are GMT +1. The time now is 11:59 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"