# Match and IF formula together for multiple conditions

1. ## Match and IF formula together for multiple conditions

I need to add multiple conditions and looking for a formula that summarizes the result. Please see the excel spreadsheet attached. Basically, I would like to add conditions for each scenario and get the result like C32:K38 in the attached file. I have also put the rule against each one.

2. ## Re: Match and IF formula together for multiple conditions

Paste into C32 and drag across/down:

``Please Login or Register  to view this content.``

3. ## Re: Match and IF formula together for multiple conditions

However, this doesn't work if there is change in scenario. I have mentioned some notes on the attached file. It won't switch back and forth to apply the right formula based on the each situation. Please take a look at the attached file.

4. ## Re: Match and IF formula together for multiple conditions

Detailed Descriptions,
In the table below I would like to get a summary table by applying a formula based on the several conditions.They are
IF all the three (Self, Internal and External) are present then the Formula should be(20%Self+10%Internal+30%External)
IF only External and Internal are present then the formula should be (70%external+ 30% internal)
If only External and self are present then the formula should be (70% external+30% Internal)
If only Internal and self are present then the formula should be (30% Internal+70% self)
If only one type of Nomination (Self, Internal or External) if present then. Apply 100% of that.
Employee ID Nomination Part 1 Part 2 Part 3 Part 4 Part 5 Part 6 Part 7
1 Self 4.0 2.0 4.0 4.0
1 Internal 2.0 2.0 4.0 3.0
1 External 3.0 2.0 1.0 2.0
result 3.1 2.0 2.0 2.0 1.9 2.6 3.7
2 Self
2.0

4.0 3.0 5.0
2 Internal 3.0 3.0 6.0

2.0
2 External
5.0 2.0 2.0
2.0
result 0.3 4.2 3.2 2 4 2.3 4.1

Employee ID Summary
1 3.1 2 2 2 1.9 2.6 3.7
2 0.3 4.2 3.2 2 4 2.3 4.1

5. ## Re: Match and IF formula together for multiple conditions

In your workbook, you wrote 30% External within J3. Should that be 70%?

6. ## Re: Match and IF formula together for multiple conditions

See attached for a possible solution.

The most convenient way to accomplish this is most likely through a lookup table (which you can hide) since array formulas don't allow for non-contiguous cell references within them (multiplying a percentage by a cell number then adding...).

However, it is possible, although not advised, to put the entire formula into a single IF statement; if you absolutely need this to be a self contained formula, that can happen. Just know that it will be much more difficult down the road if you ever need to alter the percentages allotted to any of the nominations.

7. ## Re: Match and IF formula together for multiple conditions

Works for me, Thanks a lot

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

## X vBulletin 4.1.8 Debug Information

• Page Generation 0.06501 seconds
• Memory Usage 9,048KB
• Queries Executed 16 (?)
Template Usage (35):
• (1)bbcode_code
• (1)footer
• (1)forumrules
• (1)gobutton
• (7)memberaction_dropdown
• (1)navbar
• (4)navbar_noticebit
• (6)option
• (4)postbit_attachment
• (7)postbit_legacy
• (7)postbit_onlinestatus
• (7)postbit_wrapper
• (1)spacer_close
• (1)spacer_open
• (1)tagbit_wrapper

Phrase Groups Available (6):
• global
• inlinemod
• postbit
• posting
• reputationlevel
Included Files (39):
• ./vbseo.php
• ./env.php
• ./vbseo/includes/functions_vbseo.php
• ./vbseo/includes/functions_vbseo_pre.php
• ./vbseo/includes/functions_vbseo_url.php
• ./vbseo/includes/functions_vbseo_createurl.php
• ./vbseo/includes/functions_vbseo_db.php
• ./vbseo/includes/functions_vbseo_vb.php
• ./vbseo/includes/functions_vbseo_seo.php
• ./vbseo/includes/functions_vbseo_misc.php
• ./vbseo/includes/functions_vbseo_crr.php
• ./vbseo/includes/functions_vbseo_cache.php
• ./vbseo/includes/functions_vbseo_hook.php
• ./vbseo/includes/functions_vbseo_startup.php
• ./includes/config.php
• ./global.php
• ./includes/class_bootstrap.php
• ./includes/init.php
• ./includes/class_core.php
• ./includes/functions.php
• ./includes/class_friendly_url.php
• ./includes/class_hook.php
• ./includes/functions_cforum.php
• ./includes/functions_bigthree.php
• ./includes/class_postbit.php
• ./includes/class_bbcode.php
• ./includes/functions_reputation.php
• ./includes/class_bootstrap_framework.php
• ./vb/vb.php
• ./vb/phrase.php
• ./packages/vbattach/attach.php
• ./vb/types.php
• ./vb/cache.php
• ./vb/cache/db.php
• ./vb/cache/observer/db.php
• ./vb/cache/observer.php
• ./includes/functions_notice.php

Hooks Called (49):
• init_startup
• friendlyurl_resolve_class
• database_pre_fetch_array
• database_post_fetch_array
• global_bootstrap_init_start
• global_bootstrap_init_complete
• cache_permissions
• fetch_foruminfo
• global_state_check
• global_bootstrap_complete
• global_start
• style_fetch
• global_setup_complete
• friendlyurl_redirect_canonical
• bbcode_fetch_tags
• bbcode_create
• postbit_factory
• postbit_display_start
• cache_templates
• template_register_var
• parse_templates
• notices_check_start
• notices_noticebit
• process_templates_complete
• reputation_image
• postbit_imicons
• bbcode_parse_start
• bbcode_parse_complete_precache
• bbcode_parse_complete
• postbit_attachment
• postbit_display_complete
• memberaction_dropdown
• tag_fetchbit_complete