I need help to first look up the column name say "ONT 1" then the date say "8/04/2015", and return the matched column / row value. Please help, thanks!
I need help to first look up the column name say "ONT 1" then the date say "8/04/2015", and return the matched column / row value. Please help, thanks!
Tried this?
https://support.microsoft.com/en-us/kb/59482
<----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left
If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.
Hi,
Assuming you have the Date you search in I1 and the other value in J1, try this formula :
Please Login or Register to view this content.
GC Excel
If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.
Thanks, I knew it was match / index, just have always had a problem with them for some reason...
One more question, is there a way i still lookup both the column and row using match / index and then return the max in that particular column?
So for the date, it would be the max variable while the column remains fixed?
Here's another one...
Data Range
A B C D E F 1 ONT 1 ONT 2 ONT 3 ONT 4 ONT 5 2 8/5/2015 54 61 64 67 76 3 8/4/2015 10 20 30 15 45 4 8/3/2015 60 53 68 48 25 5 8/1/2015 15 25 35 65 84 6 7 8 9 8/4/2015 ONT 1 10
This formula entered in C9:
=VLOOKUP(A9,A2:F5,MATCH(B9,A1:F1,0),0)
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
maybe i didnt explain properly. I need to look up "ONT 1" then find the max in that column, then subtract it by the max in "ONT 2", by looking up both "ONT 1" and "ONT 2". Preferably, I would also like to restrict this to the last 365 days.
Not sure what this means:
Does that mean max ONT 1 minus max ONT 2 or the other way around?subtract it by
From when? Today?restrict this to the last 365 days
Yes and Yes
Anything sir?
Something like this...
Array entered**:
=MAX(IF(A2:A5>=TODAY()-365,B2:B5))-MAX(IF(A2:A5>=TODAY()-365,C2:C5))
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks