Solved

index match to add 3times and return sum value

Posted on 2014-01-17
10
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 31

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
Technology Partners: 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

624 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