Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Join two functions to one column

I have two functions that work proper in separate cells with the proper value
selected.
when i have M selected the M function works fine and the F shows "FALSE"
When i have F selected the F function works fine and the M shows "FALSE"
Here are the two functions:
=IF(B6="M",IF(SUM(D6*3)+E6<$E$2,(D6*3)+E6,$E$2))
=IF(B6="F",IF(SUM(D6*3)+E6<$E$3,(D6*3)+E6,$E$3))
I need these to be in one column and calculate if the "M" is selected or the
"F" is.
I tried different combination's of each but kept getting "FALSE"

Many Thanks in advance.
Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Join two functions to one column

Does this do what you want...

=IF(B6="M",IF(D6*3+E6<$E$2,(D6*3)+E6,$E$2),IF(B6=" F",IF(D6*3+E6<$E$3,(D6*3)+E6,$E$3),""))

--
Rick (MVP - Excel)


"Greg" wrote in message
...
I have two functions that work proper in separate cells with the proper
value
selected.
when i have M selected the M function works fine and the F shows "FALSE"
When i have F selected the F function works fine and the M shows "FALSE"
Here are the two functions:
=IF(B6="M",IF(SUM(D6*3)+E6<$E$2,(D6*3)+E6,$E$2))
=IF(B6="F",IF(SUM(D6*3)+E6<$E$3,(D6*3)+E6,$E$3))
I need these to be in one column and calculate if the "M" is selected or
the
"F" is.
I tried different combination's of each but kept getting "FALSE"

Many Thanks in advance.
Greg


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Join two functions to one column

I Really appreciate everything you Guys/Gals do on here to help us amateurs ;)
Thanks Again! works perfect.
Greg

"Rick Rothstein" wrote:

Does this do what you want...

=IF(B6="M",IF(D6*3+E6<$E$2,(D6*3)+E6,$E$2),IF(B6=" F",IF(D6*3+E6<$E$3,(D6*3)+E6,$E$3),""))

--
Rick (MVP - Excel)


"Greg" wrote in message
...
I have two functions that work proper in separate cells with the proper
value
selected.
when i have M selected the M function works fine and the F shows "FALSE"
When i have F selected the F function works fine and the M shows "FALSE"
Here are the two functions:
=IF(B6="M",IF(SUM(D6*3)+E6<$E$2,(D6*3)+E6,$E$2))
=IF(B6="F",IF(SUM(D6*3)+E6<$E$3,(D6*3)+E6,$E$3))
I need these to be in one column and calculate if the "M" is selected or
the
"F" is.
I tried different combination's of each but kept getting "FALSE"

Many Thanks in advance.
Greg


.

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
Help with script. Join values in helper column and run routine. Sinner Excel Programming 0 April 9th 08 11:28 AM
Join text and 2 dates in A2 column in worksheet [email protected] Excel Programming 5 July 7th 07 04:38 PM
How to join two functions in a formula? Suzanne Excel Worksheet Functions 1 March 29th 07 01:48 PM
how do I join month(#) in col a and day(#) in column b to a date? unikpaul Excel Discussion (Misc queries) 1 July 31st 06 09:10 PM


All times are GMT +1. The time now is 01:45 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"