VLOOKUP with Multiple Criterias

Hello,


I want to create a Numbers table that will gather the cell value based on 2 criteria. VLOOKUP lets me use only one criteria.


Is there another formula I should be using instead?


Thank you!

Alex


User uploaded file

MacBook Pro (Retina, 15-inch, Mid 2015), macOS Sierra (10.12.5)

Posted on Dec 26, 2017 11:24 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 27, 2017 4:00 PM

You can use SUMIFS, something like this:


User uploaded file


The formula in this example, input into C2 and filled down, is this:


=SUMIFS(Table 2::C,Table 2::B,B2,Table 2::A,$A2)


SUMIFS allows you to apply more than one criteria. It works in column-condition pairs. See more about the function here. (You can switch to your language in Help > Formulas and Functions Help in your menu.)


SG

7 replies
Question marked as Top-ranking reply

Dec 27, 2017 4:00 PM in response to alexksandro

You can use SUMIFS, something like this:


User uploaded file


The formula in this example, input into C2 and filled down, is this:


=SUMIFS(Table 2::C,Table 2::B,B2,Table 2::A,$A2)


SUMIFS allows you to apply more than one criteria. It works in column-condition pairs. See more about the function here. (You can switch to your language in Help > Formulas and Functions Help in your menu.)


SG

Dec 28, 2017 4:25 AM in response to alexksandro

It looks like you want the total for the account "Savings" for the month of October.


you can use sumifs() which will sum only when all conditions are true


however, since all accounts shown are Savings it seem like a lot of work. Is this a true representation of what the data will look like? or is there a more complete set?


VLOOKUP() only returns based on a value from a range being exactly the same as or less than or equal to a test value.


also... it is often better to describe what you want to do, omitting the how. Present the problem , let us suggest the how.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

VLOOKUP with Multiple Criterias

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