MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 30th, 2004, 07:55 AM   #1
Brian from Maui
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,605
Default Re: help with formula=)

How about this?

******** ******************** ************************************************************************>
Microsoft Excel - Book1___Running: 11.0 : OS = Windows XP
File Edit View Insert Options Tools Data Window Help About
=

A
B
C
D
E
F
G
1
*******
2
*dogscatsfishinsectshorsesbirds
3
Market*A753546
4
Market*B442479
5
Market*C162353
6
*******
7
*Tier*1Tier*2Tier*3***
8
Market*A12135***
9
Market*B8184***
10
Market*C7103***
11
*******
12
*******
13
Tier*1Tier*2Tier*3****
14
dogsfishinsects****
15
catshorses*****
16
*birds*****
Sheet1*

[HtmlMaker light Ver1.10] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.


If you're Tier's change, change the names, not the formula.
Brian from Maui is offline   Reply With Quote
Old Mar 30th, 2004, 08:09 AM   #2
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 39,500
Default Re: help with formula=)

******** ******************** ************************************************************************>
Microsoft Excel - Book1___Running: xl2000 : OS = Windows Windows 2000
(F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
=

A
B
C
D
E
F
G
H
I
J
K
1
Data*Table****
2
*19.9925.9930.9949.992501000****
3
Market*A753546****
4
Market*B442479****
5
Market*C162353****
6
***********
7
***********
8
***********
9
***********
10
***********
11
***********
12
***********
13
***********
14
*********Tier*Value*
15
*Tier*1Tier*2Tier*3****Tier*1Tier*2Tier*3
16
Market*A12135****19.9930.9949.99
17
Market*B8184****25.99250*
18
Market*C7103*****1000*
19
***********
Sheet1*

[HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.


The formula in B16, which is copied across then down, is:

=SUMPRODUCT(SUMIF($B$2:$G$2,INDEX($I$16:$K$18,0,MATCH(B$15,$I$15:$K$15,0)),INDEX($B$3:$G$5,MATCH($A16,$A$3:$A$5,0),0)))
Aladin Akyurek is offline   Reply With Quote
Old Mar 30th, 2004, 08:13 AM   #3
Brian from Maui
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,605
Default Re: help with formula=)

Aladin,

Very nice....that was my second option!
Brian from Maui is offline   Reply With Quote
Old Mar 30th, 2004, 08:23 AM   #4
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 39,500
Default Re: help with formula=)

Quote:
Originally Posted by Brian from Maui
Aladin,

Very nice....that was my second option!
I thought you were out smoking and yet managed to post before me.
Aladin Akyurek is offline   Reply With Quote
Old Mar 31st, 2004, 06:26 AM   #5
sidel80
 
Join Date: Jul 2003
Posts: 22
Default Re: help with formula=)

WOW...perfect. Thank you soooooo much! This exactly what I was looking for.
sidel80 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 10:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.