A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I write a formula in excel where 1 = .05 and 2 = .75 etc.



 
 
Thread Tools Display Modes
  #1  
Old May 5th, 2010, 04:48 PM posted to microsoft.public.excel.worksheet.functions
CarolB
external usenet poster
 
Posts: 10
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  
Old May 5th, 2010, 05:12 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
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  
Old May 5th, 2010, 05:23 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
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.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:22 PM.


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