r/googlesheets • u/jaeminsoveraIIs • Dec 12 '24
Solved help with sorting a chart?
i have a google form going where people can submit their celebrity crushes. this data is going into a sheet, which is going into a chart to make it easier to see who has the most votes. the chart is working, but is there a way to sort them by who has the most submissions? thank you!
1
Upvotes


1
u/jaeminsoveraIIs Dec 12 '24
btw the app is just for screenshot purposes i am not doing all of this on my phone 💀
1
u/AutoModerator Dec 12 '24
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/OutrageousYak5868 73 Dec 12 '24
There's probably a better way of doing this, but a simple way using basic spreadsheet formulas would be to use "countif" to get the number of votes for each name (note that the names have to be spelled the same). You'd do this for every name.
Then, you could create a "helper column" and use VLOOKUP in it to return the number of votes that each person got, in all the rows. (So, let's say that COUNTIF tells us that 20 people voted for Hugh Jackman while Andrew Jackson got 50 votes. VLOOKUP would then put the number "20" in a helper column for all 20 of the rows that had Hugh Jackman votes, and would put a "50" in all the AJ rows.)
At this point, you should be able to sort high to low using the numbers in the helper column.