Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Clear cell value if cell in adjacent column is blank

$
0
0

In Google Sheets I have two data columns, S and T.

What formula would clear the value in T if the value in S is not RUN?

Sample Data

Before

ST                                               
1TriggerMsg Status
2
3RUN24/09/2023 14:44:35
424/09/2023 14:44:35
5
624/09/2023 14:44:35
7
8RUN24/09/2023 14:44:35
  • The values in T4 and T6 (highlighted above) do not have RUN in their adjacent column S (S4 and S5).

After (Result)

ST
1TriggerMsg Status
2
3RUN24/09/2023 14:44:35
4
5
6
7
8RUN24/09/2023 14:44:35
  • The values were cleared from T4 and T6.

Link to spreadsheet

Screenshot: Example Spreadsheet
spreadsheet screenshot


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>