Hi,
In the attached sheet I need a formula in col B based on conditions mentioned adjacent.
Can anybody please help![]()
Hi,
In the attached sheet I need a formula in col B based on conditions mentioned adjacent.
Can anybody please help![]()
b2=IF(C2="AM",LOOKUP(A2,{1,12,13}/24,{"On Time","12pm - 1 pm","After 1pm"}),LOOKUP(A2,{0,15,16}/24,{"By 3pm","3pm - 4pm","After 4pm"}))
try this and copy towards down
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
Dear logisticsexcel, Refer attach file. In this file i have calculate with two criteria one is "AM" & "PM"
Second is based on "A" column mentioned time with IF AND formula.
atul
If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.
Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".
Similar to nflsales this solution uses 2 lookup tables. Then the formula in D2 and copied down.Formula:
=IF(C2="AM",LOOKUP(A2,$N$1:$O$3),LOOKUP(A2,$Q$1:$R$4))
Dave
Thanks all.
All your solutions work perfect.
Good deal. You're welcome, and thanks for the feedback and added rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks