Solution I found so far is to write my custom function:
function replInches(str1){
return(eval(str1.replace("\"","").replace(" ","+")));
}
and then call it like =CONVERT(replInches(A2),"in","mm")
Videos
How to use CONVERT Google Sheets formula?
What does the CONVERT Google Sheets formula do?
CONVERT formula is used to convert a value from one unit of measurement to another. This formula is most commonly used to convert metric units to imperial units or vice versa.Why is CONVERT Google Sheets formula not working?
Solution I found so far is to write my custom function:
function replInches(str1){
return(eval(str1.replace("\"","").replace(" ","+")));
}
and then call it like =CONVERT(replInches(A2),"in","mm")
Select cells to suit, Edit > Find and Replace ..., Find [space] / Replace with + then an Edit > Find and Replace.., Find of:
(.+)"
/ Replace with:
=25.4*($1)
selecting Search using regular expressions works for the examples provided.
Hey guys, so i've been scratching my head at this for quite some time..
I am trying to get a spreadsheet to convert every unit by using any according cell.
let's say i have 125.26h, i type it in the cell 6D, and it will automatically fill in the other cells, doing the math for me for all the other units.
I know i could make it with a column dedicated to all units, but i'd end up with a lot of them, and the idea of this thing would be to make it shorter to find out what my numbers translate in other units, not to make it longer. So my problem would be to find an equation or something like that which i could type in the "Fx" part of a cell (where we can type =D6*D10 for exemple)
(https://gyazo.com/e1b62bc2e2a5070e3aab22fde70c1914)
If you have answers for me, thank you very much in advence :)