Solved

index match to add 3times and return sum value

Posted on 2014-01-17
10
245 Views
Last Modified: 2014-01-17
Hi Experts excel 2007

I have the following index match formula
=iferror(index('pivot '! $b$3:$az$14,Match($A$154,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2))+
(index('pivot '! $b$3:$az$14,Match($A$155,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2))+ (index('pivot '! $b$3:$az$14,Match($A$156,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2)),"")
0
Comment
Question by:route217
  • 5
  • 4
10 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 39787937
What is the question ?
gowflow
0
 

Author Comment

by:route217
ID: 39787938
Apologies. .experts and gowflow

the question is how do I make the above formula work and add up.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39787950
Try

=IFERROR(INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$154,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2))+
INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$155,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2))+ INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$156,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2)),"")
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:route217
ID: 39787952
Ssaqib

what's the diff between ur formula and mine. .
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39787973
=iferror(index('pivot '! $b$3:$az$14,Match($A$154,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2))+
(index('pivot '! $b$3:$az$14,Match($A$155,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2))+ (index('pivot '! $b$3:$az$14,Match($A$156,'pivot'!,0),Match(D152,'pivot'! $b$2:$az$2)),"")

=IFERROR(INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$154,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2))+
INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$155,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2))+ INDEX('Pivot '!$B$3:$AZ$14,MATCH($A$156,'Pivot '!$B$3:$B$14,0),MATCH(D152,'Pivot '!$B$2:$AZ$2)),"")
0
 

Author Comment

by:route217
ID: 39787976
Ok tired that still not working. ..
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39787983
"not working" does not tell me what the problem is. You need to explain "How" it is not working.

Is it not accepted by excel
Is it giving an error value
Is it giving a value but wrong

Unless you give details or a sample file for testing it is very difficult to help you.
0
 

Author Comment

by:route217
ID: 39787986
Saqib....


Its returning back a zero value when u manually check the data the answer is 2..
0
 

Author Comment

by:route217
ID: 39788066
There is a #n/a error on the last index match formula. ..
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39788067
Can you upload a sample sheet?

I entered the range

$B$3:$B$14

based on my judgement which could have been wrong. Either you verify this range on your own or send us something which we can look at.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question