Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I write a formula in excel where 1 = .05 and 2 = .75 etc.

How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default How do I write a formula in excel where 1 = .05 and 2 = .75 etc.

Hi,
let's assume you enter 1 in A2, and in B2 you want 0.5 multiplied by cell
A12, so in B2 enter

=if(A2=1,A12*0.05)

to complete your example , if none of the 3 numbers are entered I assume you
want blank

=if(A2=1,A12*0.05,if(A2=2,your cell*0.75,if(A2=3,your cell*1.23,"")))

"CarolB" wrote:

How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How do I write a formula in excel where 1 = .05 and 2 = .75 etc.

hi,

Maybe this

=CHOOSE(A1,0.5,0.75,1.23)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"CarolB" wrote:

How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.

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
How do I write this formula in Excel 2003? anschutz.177 Excel Discussion (Misc queries) 1 September 10th 09 01:27 AM
Probability, how can I write this into a formula in excel? Six Sigma Blackbelt Excel Discussion (Misc queries) 6 June 3rd 09 11:20 PM
How do you write a recursive formula in excel? DaveE Excel Worksheet Functions 1 April 5th 09 02:53 AM
How do I write this formula in Excel? woodie Excel Worksheet Functions 3 June 18th 06 01:53 PM
How do I write a formula in Excel L@FUTUREALL Excel Worksheet Functions 11 November 3rd 05 07:09 PM


All times are GMT +1. The time now is 12:05 AM.

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

About Us

"It's about Microsoft Excel"