Index - Match

ekslit

New Member
Joined
Apr 10, 2020
Messages
48
Hello Guys,

Happy new year :)

I have a small issue with one formula and hope that you can help me with it.
I m using this formula in sheet A : =((INDEX(SheetB!$C$2:$C1000,MATCH(C2,SheetB!$A$2:$A$1000,0)))/8)*24 -->This help me to print 13:00 because i have in my Sheet A the Value 1 but not Value 2/3 and 4.
How can i get the value of C2, C3 and C4? using C1?

Sheet B preview
1610033160762.png


Thanks in advance for your help.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
There is not enough information to answer your question?

Why 1:00 12:00 and 0:00 in those 3 cells? Why not 2:00 5:00 and 6:00, or any other combination?
 
Upvote 0
Hello @jasonb75 ,
I need to get the child of label A and i have always 3 childs thats why i m looking for 1:00 / 12:00 and 0:00 and not other combination.
Hope that its more clear now
 
Upvote 0
Not at all, you say that you only have a source for the starting 13:00 and none of the others so there is absolutely no logic to work with.
What about different times in C1? We're gonna need more than 1 example to have any hope of figuring something out.
 
Upvote 0
Please find below example for Sheet A and Sheet B.
the G column is using the formula i gave above and idea is to double check that sum of child equal to parent (label A, label B etc...)

1610036020812.png
 
Upvote 0
That makes it clearer, from your earlier posts it looked like you wanted to create the times in column C from those in column G.
In H2, fill down as needed.
Excel Formula:
=SUMIFS(C:C,B:B,"*child of "&F2&"*")
 
Upvote 0
Hello @jasonb75 thanks for the help. This works fine.
But i l afraid if i'm having some label text issue, this solution will not be correct.
is there any way, to use the key. For instance "Value1" and sum automatically the 3 row below this "Value 1" for label A ?
 
Upvote 0
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=SUM(INDEX($C$2:$C$100,MATCH(E2,$A$2:$A$100,0)+{1,2,3}))
This may need array entry depending on your version of Excel.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top