Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to use INDEX in an ARRAY that changes depending on a criteria

Column A = Client names
Column B = Items sold
Column c = Date sold

I want to get the Item Date of Purchase for a client who is indicated on
another worksheet.
There can be many Items per client and many clients for same Items
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default How to use INDEX in an ARRAY that changes depending on a criteria

Go to Help and learn about VLOOKUP then come back if you nee more help
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Daniel @ Logicim" <Daniel @ wrote in
message ...
Column A = Client names
Column B = Items sold
Column c = Date sold

I want to get the Item Date of Purchase for a client who is indicated on
another worksheet.
There can be many Items per client and many clients for same Items


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to use INDEX in an ARRAY that changes depending on a crite

I know about VLOOKUP and INDEX and MATCH and OFFSET.
I need use the function in a "volatile" ARRAY.
How do I create the ARRAY with a client lookup criteria?

"Bernard Liengme" wrote:

Go to Help and learn about VLOOKUP then come back if you nee more help
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Daniel @ Logicim" <Daniel @ wrote in
message ...
Column A = Client names
Column B = Items sold
Column c = Date sold

I want to get the Item Date of Purchase for a client who is indicated on
another worksheet.
There can be many Items per client and many clients for same Items



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default How to use INDEX in an ARRAY that changes depending on a crite

On Dec 17, 12:37 pm, Daniel @ Logicim
wrote:
I know about VLOOKUP and INDEX and MATCH and OFFSET.
I need use the function in a "volatile" ARRAY.
How do I create the ARRAY with a client lookup criteria?

"Bernard Liengme" wrote:
Go to Help and learn about VLOOKUP then come back if you nee more help
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme


"Daniel @ Logicim" <Daniel @ wrote in
...
Column A = Client names
Column B = Items sold
Column c = Date sold


I want to get the Item Date of Purchase for a client who is indicated on
another worksheet.
There can be many Items per client and many clients for same Items


Not the most fun option to setup, but it works.

Create a matrix on a seperate sheet - Client Names running along the
side, and Items along the top.
Next create named ranges (for simplicity) ie. A:A = "ClientNames".

Now in your matrix all you need to do is:
=sum((ClientNames=$A2)*(ItemsSold=A$1)*DateSold)

Enter with ctrl-shift-enter so you see curly braces { } around your
formula.

Drag to fill your matrix.

Add error checks as necessary:

=if(isna(sum((ClientNames=$A2)*(ItemsSold=A$1)*Dat eSold)),"Not yet
purchased",=sum((ClientNames=$A2)*(ItemsSold=A$1)* DateSold))

Voila. This will work best if you are polling client names from a
database.
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 with INDEX MATCH formule depending on 2 conditions Excel ESG Excel Worksheet Functions 6 June 7th 07 10:21 AM
Populate, Depending on Criteria Blobbies Excel Discussion (Misc queries) 1 September 27th 06 12:37 PM
vary the vlookup array depending on the value in a cell Greg Bergin Excel Worksheet Functions 1 June 14th 06 08:58 AM
Delete row depending on criteria adw223 Excel Discussion (Misc queries) 1 June 30th 05 12:55 AM
Adding sales depending on 2 Criteria Jamie Excel Worksheet Functions 2 December 8th 04 02:59 PM


All times are GMT +1. The time now is 11:02 AM.

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"