Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Amste
 
Posts: n/a
Default trying to create a formula and require help.

I am trying to create a formula using if a cell is = to the letter A then
multiply one cell by another or, if that same cell is = to the letter B, then
multiply one cell by another. I would greatly appreciate some help on how
this would be typed.
Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default trying to create a formula and require help.

=if(A1="A",b1*c1,if(A1="B",b2*c2,"invalid entry")).
In general, for two tests in nested ifs:
=if(first_condition,first_result,if(second_conditi on,second_result,other_result))
Enter the formula in the cell where the result should appear.

"Amste" wrote:

I am trying to create a formula using if a cell is = to the letter A then
multiply one cell by another or, if that same cell is = to the letter B, then
multiply one cell by another. I would greatly appreciate some help on how
this would be typed.
Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default trying to create a formula and require help.

=IF(A1="A",B1*C1,IF(A1="B",D1*E1,"Something Else"))

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Amste" wrote in message
...
I am trying to create a formula using if a cell is = to the letter A then
multiply one cell by another or, if that same cell is = to the letter B,
then
multiply one cell by another. I would greatly appreciate some help on how
this would be typed.
Thanks in advance



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kimmer4861
 
Posts: n/a
Default trying to create a formula and require help.


You can use a nested if statement to do this. Here is one that I have
in one of my worksheets:
=IF(C290="H",PRODUCT(B290*goals!$C$1),IF(C290="S", PRODUCT(B290*goals!$C$2),"
")). The tricky part is making sure you have enough parenthesis at the
end to close everything.


--
kimmer4861
------------------------------------------------------------------------
kimmer4861's Profile: http://www.excelforum.com/member.php...o&userid=30755
View this thread: http://www.excelforum.com/showthread...hreadid=504615

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
Adding Contents of a cell to a formula Paul Bond Excel Discussion (Misc queries) 10 January 25th 06 04:43 PM
Adding the contents of a cell to a formula Paul Bond Excel Discussion (Misc queries) 1 January 21st 06 07:19 PM
IF Function to test formula in a cell Fred Holmes Excel Worksheet Functions 5 November 18th 05 12:04 AM
Linest function: data not being selected in formula NathanG Excel Worksheet Functions 1 October 18th 05 03:16 PM
Conditional Format - Formula to Colour Every 3rd Cell in Offset Range Sam via OfficeKB.com Excel Discussion (Misc queries) 7 August 13th 05 04:19 AM


All times are GMT +1. The time now is 03:43 PM.

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"