Jan 23 2024 05:47 PM
I have a excel spreadsheet and i need to lookup all itemcodes on worksheet "ChreosdataA", that have either "AFR" or "CCH" in column A:A, and have the words "Air Freshener" in column C. and display them in the worksheet "Corestock" in column A with no blank rows between them. Also the words are only partial matches as all codes are unique except for the prefix. I hope you can help please. David
Jan 23 2024 06:50 PM
Jan 24 2024 12:55 AM
=FILTER(ChreosdataA!A2:A1000, (ISNUMBER(SEARCH("AFR", ChreosdataA!A2:A1000))+ISNUMBER(SEARCH("CCH", ChreosdataA!A2:A1000)))*ISNUMBER(SEARCH("Air Freshener", ChreosdataA!C2:C1000)), "")
If you have more than 1000 rows of data, expand the ranges in the formula
Jan 26 2024 11:26 PM
Hi.Thank you for the formula. However, i receive a #SPILL as a return
I have attached part of the spreadsheet that I am using with the relevant columns.
Thanking you
David
Jan 27 2024 12:32 AM
SolutionThanks! The formula should be entered in a single cell, and there should be enough empty cells below it for the result.
See the attached version.
Jan 27 2024 06:07 PM
@Hans Vogelaar Well this is so good. Worked perfectly and just what I needed.
Much appreciated and thank you for taking time.
David
Jan 27 2024 12:32 AM
SolutionThanks! The formula should be entered in a single cell, and there should be enough empty cells below it for the result.
See the attached version.