Hi everybody,
I have some problem here that i know you guys can help me.
i am very new in excel, dont know what kind of formula i use for this attachment.
unknown lookup formula.xls
Thanks and advance
aie
Hi everybody,
I have some problem here that i know you guys can help me.
i am very new in excel, dont know what kind of formula i use for this attachment.
unknown lookup formula.xls
Thanks and advance
aie
Last edited by abshmo5; 08-25-2013 at 07:03 PM.
Here's one construct which delivers the results ..
As all Holes data in the 10 cols C to L need to be checked for the value in O4
Put in S4: =INDEX($A:$A,MATCH($O4,C:C,0))
Put in S5: =INDEX($B:$B,MATCH($O4,C:C,0))
Copy S4:S5 across by 10 cols to AB4:AB5
Then you could use these to gather the desired results
In P4, normal ENTER will do: =INDEX(S4:AB4,MATCH(TRUE,INDEX(S4:AB4<>"N/A",),0))
In P5, normal ENTER will do: =INDEX(S5:AB5,MATCH(TRUE,INDEX(S5:AB5<>"N/A",),0))
Format P4 as date
-----------------------------------------
Success? Celebrate it, hit the little star at the bottom left of my responses
Given that:
A2:A31 houses dates, B2:B31 either day or night shift states, C2:L31 the occurrences of the lookup value, and O4 116650 which is the lookup value of interest:
P4, control+shift+enter, not just enter:
=INDEX(A2:A31,MIN(IF(C2:L31=O4,ROW(C2:L31)-ROW(C2)+1)))
Q4, control+shift+enter, not just enter:
=INDEX(B2:B31,MIN(IF(C2:L31=O4,ROW(C2:L31)-ROW(C2)+1)))
Thank you so much Aladin Akurek, thank you also Max Singapore, both works and i just choose the simplier one
abshmo5,
Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.
Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks