Add the following formula to the cell C1, and fill down as necessary
=IF(A1="keyword",B1*2,B1)
References
IF - Google Editors Help
Add the following formula to the cell C1, and fill down as necessary
=IF(A1="keyword",B1*2,B1)
References
IF - Google Editors Help
If you need to do this for multiple values across the board down the entire column for automation purposes, you can also use the following formula:
=IF(
OR(A:A = "Keyword 1", A:A = "Keyword 2"),
B:B*2,
IF(A:A = "Keyword 3",
B*B*3,
))
I created a spreadsheet that is a mileage log, when I select an two address from the drop downs, it will calculate via API driving distance and display it, that is working. What I am trying to figure out is when there is text in Round trip cell, that it will multiply the distance driven by 2 and it will get the correct price. and if there is nothing in round trip, then it will just calculate as is. https://docs.google.com/spreadsheets/d/1w0XhNzKL30jXVSSSf-gOelcLkw9Uuald5Ftoc4qfapc/edit?usp=sharing
What is the multiply formula in Google Sheets?
What happens if I multiply a number by a blank cell?
Is there a Paste special multiply option in Google Sheets?
I have a column of time that goes like this - 23:05:47 (Hrs, Min, Sec). When the hours go over 24, the cell turns into days such as 2 days, 05:25:09. I need to convert the time into all minutes. So far, I have been making the column into plain text and then multiplying the cell by 1440 which works for the cells with no days. I have about 300 cells that have days, and it's too much to manually convert all of the days back into hours.
So, how do I make a cell like 5 days, 17:31:31 or 44 days, 16:03:00 into only minutes?
The 129 hrs is from converting the days into hours.