Changing A cell based on a condition in another

subtotalatom

New Member
Joined
Feb 3, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Good Evening,

i need some help.

i need to know a cell to automatically select percentage based on the dropped value selected in another cel via data validation list.

for example.

if in G6 the user selects one of the conditions for the 6 choices, in the cell H6 It will show 75%.

the table below will show percentage for each action.

Initial
25​
Valuation
25​
Proposal
50​
Finance
75​
Legals & DD
75​
Complete
100​
No Deal
100​
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
subtotalatom, Good evening.

The explanation is a little confusing.
Are you showing us the search reference table?
You have 7 lines and not 6 as you mentioned. that's right?

Suppose: This table is at M2:N8

G6 --> Your choice ex.: Finance

H6 --> Formula
Excel Formula:
=VLOOKUP(G6; M2:N8; 2; FALSE)

H6 --> 75

Is this what you want?

I hope it helps.
 
Upvote 0
Thankyou Marcilo,

sorry for not been clear.

however, you solutions has sorted what i needed. jsut a further question, how do i extend the formula so that the vlookup doesnt return N/A if the cells in colum g are blank
 
Upvote 0
subtotalatom, Good morning.

To solve your new question just use this:

Excel Formula:
=IFERROR( VLOOKUP(G6; M2:N8; 2; FALSE) ;"")

I hope it helps.
 
Upvote 0
Solution
subtotalatom, Good morning.

You're welcome.

Thanks for the feedback.

Glad to help
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,922
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top