• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Match weekday wise cities (stored in rows)

gauravg1909

New Member
I am having a following excel sheet (weekday wise cities, column wise):
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY
City1City3City5City8City12City13City15
City2City4City6City9City14City16
DateWeek DayCityStatusCity7City10City17
27-05-2024​
Monday​
City1OkCity11City18
27-05-2024​
Monday​
City5Wrong
28-05-2024​
Tuesday​
City18Wrong
29-05-2024​
Wednesday​
City6Ok
30-05-2024​
Thursday​
City12Wrong
..........

I want a formula that check row wise data, day wise city matches or not (both check is compulsory week day+city).

If possible please help as early as possible.

Thanks in advance.
 
That's a shame! I was going to suggest this, but it's for 365:

=MAP(B5:B9,C5:C9,LAMBDA(x,y,IF(ISNUMBER(MATCH(y,FILTER(F2:L5,F1:L1=x),0)),"OK","Wrong")))

Might help someone else. Sorry!
 
That's a shame! I was going to suggest this, but it's for 365:

=MAP(B5:B9,C5:C9,LAMBDA(x,y,IF(ISNUMBER(MATCH(y,FILTER(F2:L5,F1:L1=x),0)),"OK","Wrong")))

Might help someone else. Sorry!
Its Ok, but I using 2021, thanks for your help, if possible please try to find some solution in 2021
 
Its Ok, but I using 2021, thanks for your help, if possible please try to find some solution in 2021
As I am unable to find a proper formula to do this, I solved my problem using concatenate, text & vlookup etc...., Plz check the attached file, waiting for reply.
 

Attachments

  • CITY WISE CHECK NEW.xlsx
    11.5 KB · Views: 2
In B5 copied down:

=TEXT(A5,"dddd")

In D5 copied down:

=IF(ISNUMBER(MATCH(C5,FILTER($F$2:$L$5,$F$1:$L$1=B5),0)),"OK","Wrong")
 

Attachments

  • CITY WISE CHECK NEW.xlsx
    12.1 KB · Views: 2
In B5 copied down:

=TEXT(A5,"dddd")

In D5 copied down:

=IF(ISNUMBER(MATCH(C5,FILTER($F$2:$L$5,$F$1:$L$1=B5),0)),"OK","Wrong")
WOW!!, its working, thanks for your help. Trying to check my actual data using your golden formulas, thanks again. You saved my a lot of time to do concatenate, text etc. etc.,,,,,,,,, thanks a lot again.
 
Back
Top