im an absolute beginner, that has to do a test for a data analytics course.
I have to express in a formula: what is the overall amount of products in stock. everything on google sheets.
the link for the product list is here: https://docs.google.com/spreadsheets/d/1m67VmLZispyTwFTmPdppsdJNtbvnZsZK2LBCSchUWmU/edit?usp=sharing
My idea was to multiply the quantity per unit times the unit in stock. the problem i have is, that the quantity per unit column in E is also strings, so i dont know how to convert this column so that i can multiply it with the unit in stock column. also i am not sure if this formula is right in the first place. would be glad, if someone could help me.
Thanks a lot in advance!
try:
=INDEX(QUERY(REGEXREPLACE(SPLIT(REGEXREPLACE(E2:E;
"[a-zA-Z-\.]+"; ); " ")&""; "^$"; "1")*1;
"select Col1*Col2 label Col1*Col2''"))