excel if and match

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel- if and match

Excel- if and match

resolvedResolved · Medium Priority · Version 2013

Excel- if and match

Hello!

I am trying to use two formulas together, in order to match one table with another; however, I am not getting the right combination.
Could someone help me with it.
example:
Column 1 I have programs names & Column 2 I have Coverages
What I need is for excel to tell me the code (which is in another table) of the programs.

I tried to use the formula =IF(G24="JN",290407,FALSE), which worked however I need to add another 20 codes.

Thank you
Suellen

RE: Excel- if and match

Hi Suellen

If Table2 has a coloumn of programs as well as the corresponding codes, you should be able to use an INDEX MATCH function to do this:

=Index(Table2_CodeRange,MATCH(Table1_LookupProgram,Table2_ProgramRange,0))

If this isn't possible, you could use a nested IF to add your other codes:

=IF(G24="JN",290407,IF(G24="program","code",IF(G24="program","code",IF(... etc etc

However, the nested IF method is much longer and harder to avoid errors.

Hope this answers your question, let us know if you need any more help!

Regards

Sarah
Excel Trainer

Thu 12 Apr 2018: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Creating charts in Excel 2010

Here's how to present your data in a chart format:

Highlight the data you wish to use in a chart

Click the Insert Ribbon

In the Charts Group, select Column Chart

Your chart will then appear on your work sheet.

View all Excel hints and tips


Server loaded in 0.08 secs.