Solved

index match to add 3times and return sum value

Posted on 2014-01-17
10
248 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 30

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
Independent Software Vendors: 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

Suggested Solutions

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

710 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