try this one.
Hamsample.xls
I think people forget the word "THANK YOU!!!!" Do you still know it???
There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "
Regards,
Vladimir
Thanks Vlady. What if I want to use generic word instead a specific one in the formula. Like Intead of writing Ham&Cheese, I can get the result just writing HAM.
You can use wild cards for it
INDEX(F:F,MATCH("*"&P14&"*",A:A,0))
i put it before and after so that either of the word will be searched
Ham or Cheese only
Hi Vlady,
I tried your suggestion but not work out. I put word Ham instead of HAM&Cheese, but not worked. Can you please help on this.
here's the file
Hamsample.xls
Hi Vlady,
Please if you can explain the last answer file. I am not getting any idea.
Thanks
=IFERROR(SUM(INDEX(C:C,MATCH("*"&P14&"*",A:A,0)),INDEX(F:F,MATCH("*"&P14&"*",A:A,0))),"Not found")
P14 is the text to find say the word --> cheese
notice the "*" between P14 so even you type cheese this will be search even there are "other words" between it and search it... notice the additional word below
i.e ->> BurgerHam&cheesehotdog <-- this will be the returning value in the match because it has the word cheese in it..
then INDEX(C:C <--get the quantity
iferror( ..the formula here.....,"Not found") <--used for error checking if not available
Hi Vlady,
how can I get sum of QTY if I have like 7 QTY columns instead of just 2 QTY columns.
thanks
btw iferror work for higher xl
this for xl2003
=IF(ISERROR(MATCH("*"&P14&"*",A:A,0)),"not found",SUM(INDEX(C:C,MATCH("*"&P14&"*",A:A,0)),INDEX(F:F,MATCH("*"&P14&"*",A:A,0))))
thanks icestationzbra.
regards,
vladimir
See the attached
Thanks mama and Vlady.
You're Welcome!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks