Hi guys,
I have some challenges with the attached spreadsheet. I tried Index Match IFs ANDs, but couldn't get what I needed.
Please help!
Thanks a lot!
Hi guys,
I have some challenges with the attached spreadsheet. I tried Index Match IFs ANDs, but couldn't get what I needed.
Please help!
Thanks a lot!
Last edited by I.am.Rustam; 12-10-2015 at 12:56 PM.
Nope. I don't follow. Please amend the sheet showing your expected results for a couple of people and explain the difference between Location 1 and location.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Hi
Maybe the following although I'm not entirely sure I understand your requirement and if not manually add the results you expect for various permuations so that we may see the end goal.
As an array formula in C5 (entered with Ctrl Shift Enter) copied down.
Formula:
Please Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Hi,
Sorry for the confusion. Please see another spreadsheet. I tried to make it clear what I need to get as my final outcome.
Thanks a lot!
Attached is what you asked for.
Cheers
And a slightly more elegant solution:
=SUMPRODUCT(($E$5:$E$22-$C$5:$C$22>=30)*($B$5:$B$22=$H6)*($D$5:$D$22=I$4)*(($E$5:$E$22-$C$5:$C$22)))
Paste this formula into that table you provided
That's a nice answer ImokatExcel. I took a slightly different (and maybe overcomplicated) approach, which needed a couple of helper columns (which can be hidden, of course), but which also filled in column H. Messier than yours, but... maybe... complete. we'll see.
ImokatExcel,
Your your formulas work perfect and I get what I need ONLY IF I know the H column's names. However, I don't know names in the H columns.... I put them there as an example.
All I know is the table B5:E22.
I need to look up names that satisfy the criteria in B5:E22 table, than include the name and corresponding difference for NY, NJ, CT (as you did with your SumIfs formula).
Please advise if you have an idea!
Thanks!
I think I've covered the column H aspect. Happy to explain if needed.
Glenn Kennedy,
Thanks a lot! I appreciate it. Your formulas work perfect! I am getting there!The only one thing I tried to modify myself, but couldn't
In your formula, the values that are greater than 30 needs to be placed accordingly to the location...
For example, in the spreadsheet that you attached, Name 1, has the value 35 at location 4, this value needs to go under CT column (which is coded as location 4)
Is it possible to modify?
Thanks a lot!!!
Last edited by I.am.Rustam; 12-10-2015 at 03:28 PM.
Im sure I could help you if I understood more clearly what you meant by "You don't have the names". Hopefully Glenn's solution is a more complete one. If you still need help feel free to explain exactly what you need or ask Glenn to explain his analysis.
I am away as from now, for the night. can you illustrate on an Excel sheet what the problems are and I'll take a look first thing tomorrow. If Imokat's formulas for the locations work OK, then just use them in combination with my effort for column H.
Glenn Kennedy,
Your formulas work perfect! Thanks a lot! I appreciate that!
The only thing I need to be modified in your formula is that in the spreadsheet that you attached, Name 1, has the value 35 at location 4, this value needs to go under CT column (which is coded as location 4)
Is it possible? Thanks again!
Glenn and Imokat,
Thank you guy for contributing your time and effort! I took some part from both of you, combined, and got what I needed!
Thanks a lot guys!!! Appreciate it.
Great stuff.... Good luck!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks