Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nsd nsd is offline
external usenet poster
 
Posts: 23
Default Look Up and provide multiple result

Hello again,

I tried to post this, however I don't find it under my postings, hence
sending it again.

---
I have a worksheet in the following format

Name Week Total
Jon 4-Sep 1
Philip 4-Sep 2
Dan 4-Sep 3
James 4-Sep 4
Jon 25-Sep 5
James 11-Sep 6
Philip 11-Sep 6
Dan 18-Sep 7
James 18-Sep 8
Philip 25-Sep 8

I want to creat a look up in a different sheet where one can Look up for
individuals Total by week as under

Case 1
Look up = Philip
The result should appear as

Week 4-Sep 11-Sep 25-Sep
Total 2 6 8

& Case 2
Look up = Jon
The result should appear as
Week 4-Sep 25-Sep
Total 1 5

I tried to use Vlookup, Index/match, but didn't able to achieve what i
wanted. If you can help witha formula to get the desired result.

Also, since the data I have has multiple weeks info - if I can get last 4
week info. would be great.

Regards,
Dinesh
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Look Up and provide multiple result

nsd wrote:
Hello again,

I tried to post this, however I don't find it under my postings, hence
sending it again.

---
I have a worksheet in the following format

Name Week Total
Jon 4-Sep 1
Philip 4-Sep 2
Dan 4-Sep 3
James 4-Sep 4
Jon 25-Sep 5
James 11-Sep 6
Philip 11-Sep 6
Dan 18-Sep 7
James 18-Sep 8
Philip 25-Sep 8

I want to creat a look up in a different sheet where one can Look up for
individuals Total by week as under

Case 1
Look up = Philip
The result should appear as

Week 4-Sep 11-Sep 25-Sep
Total 2 6 8

& Case 2
Look up = Jon
The result should appear as
Week 4-Sep 25-Sep
Total 1 5

I tried to use Vlookup, Index/match, but didn't able to achieve what i
wanted. If you can help witha formula to get the desired result.

Also, since the data I have has multiple weeks info - if I can get last 4
week info. would be great.

Regards,
Dinesh


Hi Dinesh,

VLookup and Index are not an efficient tools for returning multiple
results.

However, the format & function you describe is (almost) exactly what a
pivot table can do for you; I suggest you give that a try. To
automatically filter on [last 4 weeks] you can add a calculated column
to your pivot table data that returns true or false based on the date
column.

Does this make sense?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Look Up and provide multiple result

Check this out:

http://office.microsoft.com/en-us/ex...260381033.aspx
--
Gary''s Student - gsnu200908


"smartin" wrote:

nsd wrote:
Hello again,

I tried to post this, however I don't find it under my postings, hence
sending it again.

---
I have a worksheet in the following format

Name Week Total
Jon 4-Sep 1
Philip 4-Sep 2
Dan 4-Sep 3
James 4-Sep 4
Jon 25-Sep 5
James 11-Sep 6
Philip 11-Sep 6
Dan 18-Sep 7
James 18-Sep 8
Philip 25-Sep 8

I want to creat a look up in a different sheet where one can Look up for
individuals Total by week as under

Case 1
Look up = Philip
The result should appear as

Week 4-Sep 11-Sep 25-Sep
Total 2 6 8

& Case 2
Look up = Jon
The result should appear as
Week 4-Sep 25-Sep
Total 1 5

I tried to use Vlookup, Index/match, but didn't able to achieve what i
wanted. If you can help witha formula to get the desired result.

Also, since the data I have has multiple weeks info - if I can get last 4
week info. would be great.

Regards,
Dinesh


Hi Dinesh,

VLookup and Index are not an efficient tools for returning multiple
results.

However, the format & function you describe is (almost) exactly what a
pivot table can do for you; I suggest you give that a try. To
automatically filter on [last 4 weeks] you can add a calculated column
to your pivot table data that returns true or false based on the date
column.

Does this make sense?
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Look Up and provide multiple result

Gary''s Student wrote:
Check this out:

http://office.microsoft.com/en-us/ex...260381033.aspx


Leave it to Ashish! Another great source for this kind of solution is

http://www.get-digital-help.com/

My preference would still be the pivot table (^:
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Look Up and provide multiple result

Excel 2007 Pivot Table
As suggested by smartin:
http://www.mediafire.com/file/zqmbyd...10_24_09a.xlsx
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
multiple arguments from 2 column to provide an added result from a Dubbo Excel Worksheet Functions 4 August 17th 07 02:38 AM
multiple arguments from 2 column to provide an added result fr Dubbo Excel Worksheet Functions 0 August 17th 07 01:56 AM
Provide a match from 2 cells to give a result from another leefarrell Excel Worksheet Functions 4 August 9th 06 01:31 PM
Having a formula provide a running total from multiple worksheets sisko101 Excel Worksheet Functions 3 July 7th 06 10:06 PM
How do I Provide a specific result given multiple criteria? Luis Excel Worksheet Functions 1 July 14th 05 09:17 PM


All times are GMT +1. The time now is 02:09 PM.

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

About Us

"It's about Microsoft Excel"