You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VLOOKUP drops some rows and doesn't populate.

I have a very weird issue with my Numbers for MacOS. Whenever I hold and drag down in my VLOOKUP column to apply the formula to all my students, VLOOKUP gradually omits more and more data from the range. It looks like this - as I go lower in the lookup column, the less source data is being taken.




The lower I go the less data from the right columns is being used (marked pink)


Posted on Dec 21, 2022 8:59 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 22, 2022 1:46 AM

Since there is a small number of possible letter grades you may find it simpler and less cluttered to use a formula rather than a separate lookup table.




Entered as:


=IFS(A2>=90%,"A",A2>=70%,"B",A2>=20%,"D")


You may need to change this slightly to reflect your actual grading system. I just took a guess based on your screenshot.


If you actually fail some students then you could extend this to something like this:


=IFS(A2>=90%,"A",A2>=70%,"B",A2>=20%,"D",A2>=0%,"F")


More on IFS here.


IFS - Apple Support



Replace the , in the formulas with ; if your region uses , as a decimal separator.


SG


5 replies
Question marked as Top-ranking reply

Dec 22, 2022 1:46 AM in response to bartosztomasz

Since there is a small number of possible letter grades you may find it simpler and less cluttered to use a formula rather than a separate lookup table.




Entered as:


=IFS(A2>=90%,"A",A2>=70%,"B",A2>=20%,"D")


You may need to change this slightly to reflect your actual grading system. I just took a guess based on your screenshot.


If you actually fail some students then you could extend this to something like this:


=IFS(A2>=90%,"A",A2>=70%,"B",A2>=20%,"D",A2>=0%,"F")


More on IFS here.


IFS - Apple Support



Replace the , in the formulas with ; if your region uses , as a decimal separator.


SG


Dec 21, 2022 2:31 PM in response to bartosztomasz

Hi bartosztomasz,

Does your formula has any $ signs in this section?


It should have $ signs in front of the letters and the numbers, this will preserve the position in the table when you drag the formula down.


Based on your region the , or the ; will be used to separate the different sections of a formula. If you write one thousand as 1,000.00 then the , is used as your formula separator. If you write one thousand as 1.000,00 then the ; is used as your formula separator.


Hope this will solve your question, please let me know if this worked for you or if something in unclear.


Regards Ralf

VLOOKUP drops some rows and doesn't populate.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.