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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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