Hi,
Please help me to find the match number in sheet2 if 2 conditions met then enter the text "FOUND" in sheet1
See sample attached
Regards,
tt3
Hi,
Please help me to find the match number in sheet2 if 2 conditions met then enter the text "FOUND" in sheet1
See sample attached
Regards,
tt3
Last edited by AliGW; 03-18-2021 at 04:09 AM.
does this work
Look for the number in Sheet1 with Sheet2 column A and that Sheet2 Column D is blank and Column E is NOT blank
=IF(COUNTIFS(Sheet2!$A$2:$A$30,Sheet1!A2,Sheet2!$D$2:$D$30,"",Sheet2!$E$2:$E$30,"<>"&"")=1,"Found","")
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Hi etaf,
That's perfect but somehow it doesn't work if there's duplicate numbers. Please help me one more time
See updated sample
Regards,
tt3
change
=IF(COUNTIFS(Sheet2!$A$2:$A$31,Sheet1!A2,Sheet2!$D$2:$D$31,"",Sheet2!$E$2:$E$31,"<>"&"")=1,"Found","")
to
=IF(COUNTIFS(Sheet2!$A$2:$A$31,Sheet1!A2,Sheet2!$D$2:$D$31,"",Sheet2!$E$2:$E$31,"<>"&"")>0,"Found","")
Hi etaf,
That's perfect. Thank for your help.
Regards,
tt3
you are welcome
Hi Etaf,
Just find out there should be BLANK if both columns D & E are BLANK. This works on Excel but somehow it doesn't work in google sheet in some cases. Do you know why?
Regards,
tt3
Last edited by tuongtu3; 03-17-2021 at 06:37 PM.
for the D&E blank
=IF(AND(Sheet2!D2="",Sheet2!E2=""),"",IF(COUNTIFS(Sheet2!$A$2:$A$30,Sheet1!A2,Sheet2!$D$2:$D$30,"",Sheet2!$E$2:$E$30,"<>"&"")>0,"Found",""))
Not sure about google sheets , not really used much, but countifs is supported in google sheets
https://blog.coupler.io/countif-and-countifs/
Just checking what version of Excel are you using - you have Excel 2007 in your profile , is that still the version
Perhaps its the "<>"&""
maybe change to "<>" , which you should be able to do in excel anyway
=IF(AND(Sheet2!D2="",Sheet2!E2=""),"",IF(COUNTIFS(Sheet2!$A$2:$A$30,Sheet1!A2,Sheet2!$D$2:$D$30,"",Sheet2!$E$2:$E$30,"<>")>0,"Found",""))
Hi etaf,
Sorry for the late response and the below worked in excel 2007 and I will try in Google Sheet
IF(COUNTIFS(Sheet2!$A$2:$A$31,Sheet1!A3,Sheet2!$D$2:$D$31,"",Sheet2!$E$2:$E$31,"<>"&"")>0,"Found","")
Regards,
tt3
Last edited by tuongtu3; 04-01-2021 at 01:23 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks