#1   Report Post  
G118
 
Posts: n/a
Default "IF" type formula

How do you create the formula for the following:

If cell X has a certain character (1,2,3,4,5,6) then I want cell Y to be
populated with a determiend value based on X (for example 1=20%, 2=40%,
5=75%).

THank you.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Using VLOOKUP is one way. For example:

=VLOOKUP(A1,{1,0.2;2,0.4;5,0.75},2,0)

HTH
Jason
Atlanta, GA

-----Original Message-----
How do you create the formula for the following:

If cell X has a certain character (1,2,3,4,5,6) then I

want cell Y to be
populated with a determiend value based on X (for

example 1=20%, 2=40%,
5=75%).

THank you.
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Formula to extend a string of type AAA001 gizmo Excel Worksheet Functions 7 January 3rd 05 10:38 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
How to I use ** without Excel thinking I want to type a formula? Buff Excel Discussion (Misc queries) 2 December 22nd 04 09:31 PM


All times are GMT +1. The time now is 06:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"