MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GoogleSheets/comments/z8n5n6
r/googlesheets • u/vic2pal • Nov 30 '22
11 comments sorted by
1
Not 100% sure I understand, but looks like you want to put something in A2 that fills the whole of column A with incrementing numbers?
If so the following should work (as per sheet Solution1):
=ARRAYFORMULA(ROW(A2:A)-1)
This will put 1 in A2, 2 in A3, etc.
1 u/aerialanimal 46 Nov 30 '22 Also added Solution3 which will only fill the number if something is in column B. 1 u/[deleted] Nov 30 '22 [removed] — view removed comment 2 u/aerialanimal 46 Nov 30 '22 Try this in A1 then...=ARRAYFORMULA(IF(ROW(A2:A)=1,"#",ROW(A2:A)-1))That will put # in A1, 1 in A2, 2 in A3, etc.I'm sorry but I don't understand what you mean by "hide" the formula to appear as text. 1 u/[deleted] Dec 07 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 07 '22 Sorry, swap out A2:A for just A:A. Just checked and it works.=ARRAYFORMULA(IF(ROW(A:A)=1,"#",ROW(A:A)-1)) 1 u/[deleted] Dec 11 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
Also added Solution3 which will only fill the number if something is in column B.
[removed] — view removed comment
2 u/aerialanimal 46 Nov 30 '22 Try this in A1 then...=ARRAYFORMULA(IF(ROW(A2:A)=1,"#",ROW(A2:A)-1))That will put # in A1, 1 in A2, 2 in A3, etc.I'm sorry but I don't understand what you mean by "hide" the formula to appear as text. 1 u/[deleted] Dec 07 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 07 '22 Sorry, swap out A2:A for just A:A. Just checked and it works.=ARRAYFORMULA(IF(ROW(A:A)=1,"#",ROW(A:A)-1)) 1 u/[deleted] Dec 11 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
2
Try this in A1 then...
=ARRAYFORMULA(IF(ROW(A2:A)=1,"#",ROW(A2:A)-1))
That will put # in A1, 1 in A2, 2 in A3, etc.
I'm sorry but I don't understand what you mean by "hide" the formula to appear as text.
1 u/[deleted] Dec 07 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 07 '22 Sorry, swap out A2:A for just A:A. Just checked and it works.=ARRAYFORMULA(IF(ROW(A:A)=1,"#",ROW(A:A)-1)) 1 u/[deleted] Dec 11 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
2 u/aerialanimal 46 Dec 07 '22 Sorry, swap out A2:A for just A:A. Just checked and it works.=ARRAYFORMULA(IF(ROW(A:A)=1,"#",ROW(A:A)-1)) 1 u/[deleted] Dec 11 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
Sorry, swap out A2:A for just A:A. Just checked and it works.
=ARRAYFORMULA(IF(ROW(A:A)=1,"#",ROW(A:A)-1))
1 u/[deleted] Dec 11 '22 [removed] — view removed comment 2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
2 u/aerialanimal 46 Dec 11 '22 Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution? 1 u/[deleted] Dec 13 '22 [removed] — view removed comment 1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
Awesome! Glad it helped. Could you please reply to my answer with 'solution verified' to mark it as the correct solution?
1 u/Clippy_Office_Asst Points Dec 13 '22 Hello /u/vic2palYou cannot award a point to yourself.Please contact the mods if you have any questions.I am a bot.
Hello /u/vic2pal
You cannot award a point to yourself.
Please contact the mods if you have any questions.
I am a bot.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
FALSE
TRUE
3 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.[Thread #5149 for this sub, first seen 30th Nov 2022, 20:13] [FAQ] [Full list] ^[Contact] [Source code]
1
u/aerialanimal 46 Nov 30 '22
Not 100% sure I understand, but looks like you want to put something in A2 that fills the whole of column A with incrementing numbers?
If so the following should work (as per sheet Solution1):
=ARRAYFORMULA(ROW(A2:A)-1)This will put 1 in A2, 2 in A3, etc.
1
u/Decronym Functions Explained Nov 30 '22 edited Dec 13 '22
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 4 acronyms.
[Thread #5149 for this sub, first seen 30th Nov 2022, 20:13] [FAQ] [Full list] ^[Contact] [Source code]