Solved

index match to add 3times and return sum value

Posted on 2014-01-17
10
239 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
Comment Utility
What is the question ?
gowflow
0
 

Author Comment

by:route217
Comment Utility
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
Comment Utility
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
 

Author Comment

by:route217
Comment Utility
Ssaqib

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

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
Comment Utility
=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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:route217
Comment Utility
Ok tired that still not working. ..
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
"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
Comment Utility
Saqib....


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

Author Comment

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

Expert Comment

by:Saqib Husain, Syed
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now