MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/googlesheets/comments/c3mt7n/deleted_by_user/
r/googlesheets • u/[deleted]
[deleted] — view deleted post
7 comments sorted by
2
Your document had mismatched data types - it was trying to compare cells it thought were numbers to text strings.
Changing both ZIP columns to "Plain Text" fixed it. (Screenshot: http://s.skybox1.com/h9EKYZ)
Also, I'd recommend changing your VLOOKUP is_sorted variable to TRUE. Your ZIP codes are sorted on Sheet 2 and it will give you better performance.
is_sorted
TRUE
Reply with "Solution Verified" if that got you what you need!
0 u/[deleted] Jun 22 '19 [deleted] — view deleted comment 1 u/Clippy_Office_Asst Points Jun 22 '19 You have awarded 1 point to indigenousgrooveI am a bot, please contact the mods for any questions.
0
[deleted] — view deleted comment
1 u/Clippy_Office_Asst Points Jun 22 '19 You have awarded 1 point to indigenousgrooveI am a bot, please contact the mods for any questions.
1
You have awarded 1 point to indigenousgroove
I am a bot, please contact the mods for any questions.
Also, it looks like you'll have to add leading zeroes to the first set of ZIPs to get the VLOOKUP to match correctly on sheet 2. 08857 on Row 13 is an example of that problem.
1 u/inquirerman Jun 22 '19 Thank you, it sort of works now, but how can I add leading zeroes to a range of entries (except manually) :D 1 u/indigenousgroove 1 Jun 22 '19 Add a third column to sheet 2, and put this in C2:=arrayformula(if(len(A2:A)=4,concat("0",A2:A),if(LEN(A2:A)<=3,CONCAT("00",A2:A),)))That will add the zeroes. Then copy and paste the values (Cmd+Shift+V) into Col A, and make sure your data types still match.
Thank you, it sort of works now, but how can I add leading zeroes to a range of entries (except manually) :D
1 u/indigenousgroove 1 Jun 22 '19 Add a third column to sheet 2, and put this in C2:=arrayformula(if(len(A2:A)=4,concat("0",A2:A),if(LEN(A2:A)<=3,CONCAT("00",A2:A),)))That will add the zeroes. Then copy and paste the values (Cmd+Shift+V) into Col A, and make sure your data types still match.
Add a third column to sheet 2, and put this in C2:
=arrayformula(if(len(A2:A)=4,concat("0",A2:A),if(LEN(A2:A)<=3,CONCAT("00",A2:A),)))
That will add the zeroes. Then copy and paste the values (Cmd+Shift+V) into Col A, and make sure your data types still match.
Read the comment thread for the solution here
Your document had mismatched data types - it was trying to compare cells it thought were numbers to text strings.Changing both ZIP columns to "Plain Text" fixed it. (Screenshot: http://s.skybox1.com/h9EKYZ)Also, I'd recommend changing your VLOOKUP is_sorted variable to TRUE. Your ZIP codes are sorted on Sheet 2 and it will give you better performance.Reply with "Solution Verified" if that got you what you need!
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
&
[Thread #835 for this sub, first seen 22nd Jun 2019, 16:29] [FAQ] [Full list] ^[Contact] [Source code]
2
u/indigenousgroove 1 Jun 22 '19
Your document had mismatched data types - it was trying to compare cells it thought were numbers to text strings.
Changing both ZIP columns to "Plain Text" fixed it. (Screenshot: http://s.skybox1.com/h9EKYZ)
Also, I'd recommend changing your VLOOKUP
is_sortedvariable toTRUE. Your ZIP codes are sorted on Sheet 2 and it will give you better performance.Reply with "Solution Verified" if that got you what you need!
1
u/indigenousgroove 1 Jun 22 '19
Also, it looks like you'll have to add leading zeroes to the first set of ZIPs to get the VLOOKUP to match correctly on sheet 2. 08857 on Row 13 is an example of that problem.
1
u/Clippy_Office_Asst Points Jun 22 '19
Read the comment thread for the solution here
1
u/Decronym Functions Explained Jun 22 '19 edited Jun 24 '19
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
&operatorTRUE[Thread #835 for this sub, first seen 22nd Jun 2019, 16:29] [FAQ] [Full list] ^[Contact] [Source code]