#1   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

I can't seem to wrap my head around this. I need to combine the following
two formulas so that the result appears in one cell:

=IF(A33="","",(SUM((2815*30)*A33)))
=IF(A34="","",IF(A34="12x",B34*0.7*0.8,IF(A34="6x" ,B34*0.7*0.5,0)))

Thanks!
--
Krista
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Combining formulas


What happens if there is a value in A33 AND A34?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Combining formulas


=IF(AND(ISBLANK(A33),ISBLANK(A34)),"",IF(A34="12x" ,B34*0.7*0.8,IF(A34="6x",B34*0.7*0.5,IF(A33<"",(S UM((2815*30)*A33)),0))))

This will first check A34 for any value, if nothing, then show the
result best on the value in A33.

If A33 has a value but A34 has either 6X or 12X, the A34 is used and
A33 ignored


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424

  #4   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

Sorry 'bout that ... it's all on the same row. This is a better
representation:

=IF(D33="","",(SUM((2815*30)*D33)))
=IF(E33="12x",F33*0.7*0.8,IF(E33="6x",F33*0.7*0.5, 0)))

In the second calc F33 is the total of the first calc.

Thanks!
--
Krista


"Bearacade" wrote:


What happens if there is a value in A33 AND A34?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424


  #5   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Combining formulas


I am sorry, but you lost me. I have no idea what is in what cell =(

Can you tell me where you have these two formula? and where you want
the new formula to be and what you want it to do?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424



  #6   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

OK, I figured out a way around my initial question, but I have another
question ... completely different from the first. How can I change the
following formula to be where E33 starts with 12x or 6x?

=IF(E33="","",IF(E33="12x",F33*0.7*0.8,IF(E33="6x" ,F33*0.7*0.5,0)))

Thanks!

--
Krista


"Bearacade" wrote:


I am sorry, but you lost me. I have no idea what is in what cell =(

Can you tell me where you have these two formula? and where you want
the new formula to be and what you want it to do?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424


  #7   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Combining formulas


You mean:

=IF(E33="12x",F33*0.7*0.8,IF(E33="6x",F33*0.7*0.5, ""))

or

=IF(E33="6x",F33*0.7*0.5,IF(E33="12x",F33*0.7*0.8, ""))


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424

  #8   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

No. I need to know how to change the formula to instead of

="12x" or ="6x"
to
starts with "12x" or "6x"

Thanks.
--
Krista


"Bearacade" wrote:


You mean:

=IF(E33="12x",F33*0.7*0.8,IF(E33="6x",F33*0.7*0.5, ""))

or

=IF(E33="6x",F33*0.7*0.5,IF(E33="12x",F33*0.7*0.8, ""))


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424


  #9   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Combining formulas


Sorry Krista, I am still no understanding your question... what do you
mean by Start with?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552424

  #10   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Combining formulas


Krista,

Do you mean if the first 3 characters are "12x" or first 2 are "6x"?

Try,


=IF(E33="","",IF(LEFT(E33,3)="12x",F33*0.7*0.8,IF( LEFT(E33,2)="6x",F33*0.7*0.5,0)))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=552424



  #11   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

Yes, that's what I mean -- thanks.

I tried this formula; however, nothing is appearing. I initially thought
that's what the formula should be; however, it's not calculating ... the
field is blank.

Thanks.
--
Krista


"SteveG" wrote:


Krista,

Do you mean if the first 3 characters are "12x" or first 2 are "6x"?

Try,


=IF(E33="","",IF(LEFT(E33,3)="12x",F33*0.7*0.8,IF( LEFT(E33,2)="6x",F33*0.7*0.5,0)))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=552424


  #12   Report Post  
Posted to microsoft.public.excel.misc
Krista
 
Posts: n/a
Default Combining formulas

My bad ... I figured it out.

Thanks again!

--
Krista


"Krista" wrote:

Yes, that's what I mean -- thanks.

I tried this formula; however, nothing is appearing. I initially thought
that's what the formula should be; however, it's not calculating ... the
field is blank.

Thanks.
--
Krista


"SteveG" wrote:


Krista,

Do you mean if the first 3 characters are "12x" or first 2 are "6x"?

Try,


=IF(E33="","",IF(LEFT(E33,3)="12x",F33*0.7*0.8,IF( LEFT(E33,2)="6x",F33*0.7*0.5,0)))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=552424


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 can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
How prevent formulas to get external references/path to current workbook? Gunnar Johansson Excel Worksheet Functions 1 August 15th 05 10:39 AM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM
combining countif formulas Liz G Excel Worksheet Functions 3 November 1st 04 09:34 PM


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

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"