Page 1 of 1

food cost

Posted: Sun Apr 18, 2021 12:02 pm
by sna
Hi Dear,

I come up with an issue how to add values in single cells but data type not consistent like space and = sign.
I also attached and excel template with result on column b

Thanks

Re: food cost

Posted: Sun Apr 18, 2021 12:03 pm
by sna
Here's the attached

Re: food cost

Posted: Mon Apr 19, 2021 11:46 pm
by snasui
:D You can use this formula for example text in your attached file.

=SUM(FILTERXML("<t><s>"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A3," kg","kg"),"="," ")," ","</s><s>")&"</s></t>","//s"))

Re: food cost

Posted: Wed Apr 21, 2021 7:31 am
by sna
Thank you 🙏