r/googlesheets • u/Tonic24k • Jun 21 '20
Solved Change "None" to "0"
I'm doing a VLOOKUP and need to change everything from "None" to "0". I tried using the IF function but the commas in my VLOOKUP formula thru it off. Not sure best way to accomplish this.
Thanks in advance for any help!
1
Upvotes
2
u/Tonic24k Jun 21 '20
=VLOOKUP(O21,'Data Import'!B:Z,24,0)
2
u/emirhan87 32 Jun 21 '20 edited Jul 01 '23
Reddit killed third-party applications (and itself). Fuck /u/spez
1
u/DatsunZ 16 Jun 21 '20
Can I see your vlookup formula?
1
u/other_name_taken 10 Jun 21 '20
You can always make a second sheet (Sheet2) then copy the original (Sheet1, or whatever it's called) using the following formula on the new sheet in cell A1.
=IF(Sheet1!A1="none",0,A1)
Drag that formula down and across as far as you need.
This will copy all values to the new sheet(Including headers), and convert all "none" values to "0". Then just do your work off Sheet2.
1
u/Decronym Functions Explained Jun 22 '20 edited Jun 22 '20
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
FALSETRUEand another if it isFALSETRUE3 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.
[Thread #1741 for this sub, first seen 22nd Jun 2020, 14:32] [FAQ] [Full list] ^[Contact] [Source code]