Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default IF/OR Logic Function

I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default IF/OR Logic Function

try (untested)
=IF(M8="1st Monday",I8,IF(K14="15th",I14,"") )



--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jason" wrote in message
...
I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default IF/OR Logic Function

Do you want the first IF to take precedence over the second IF? You could try:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

Or do you want both cells to display if both are true? Then try:

=IF(M8="1st Monday",I8,"") & IF(K14="15th",I14,"")

If neither of these are what you're looking for, then perhaps provide more
info on what you want and maybe include some sample data.

HTH
Elkar



"Jason" wrote:

I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF/OR Logic Function

=IF(M8="1st Monday",I8,"")
=IF(K14="15th",I14,"")


Which of those should have precedence?

Take your pick:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

=IF(K14="15th",I14,IF(M8="1st Monday",I8,""))


--
Biff
Microsoft Excel MVP


"Jason" wrote in message
...
I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default IF/OR Logic Function

I am setting up a budget. I need two types of data to insert into the same
cell. The two questions are when does a paycheck post.
The first option is "1st Monday" of the month: =IF(M9="1st Monday",I9,"")
The second option is the "5th" being a date: =IF(K14="5th",I14,"")

So I need to be able to populate the same cell if both formulas are true
with the sum of both entries. And also to populate the cell if one is false
and another true and vice versa.

Thanks Jason



"Elkar" wrote:

Do you want the first IF to take precedence over the second IF? You could try:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

Or do you want both cells to display if both are true? Then try:

=IF(M8="1st Monday",I8,"") & IF(K14="15th",I14,"")

If neither of these are what you're looking for, then perhaps provide more
info on what you want and maybe include some sample data.

HTH
Elkar



"Jason" wrote:

I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default IF/OR Logic Function

Ok, see if this works:

=IF(AND(M9="1st Monday",K14="5th"),I9+I14,IF(M9="1st
Monday",I9,IF(K14="5th",I14,"")))

HTH
Elkar


"Jason" wrote:

I am setting up a budget. I need two types of data to insert into the same
cell. The two questions are when does a paycheck post.
The first option is "1st Monday" of the month: =IF(M9="1st Monday",I9,"")
The second option is the "5th" being a date: =IF(K14="5th",I14,"")

So I need to be able to populate the same cell if both formulas are true
with the sum of both entries. And also to populate the cell if one is false
and another true and vice versa.

Thanks Jason



"Elkar" wrote:

Do you want the first IF to take precedence over the second IF? You could try:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

Or do you want both cells to display if both are true? Then try:

=IF(M8="1st Monday",I8,"") & IF(K14="15th",I14,"")

If neither of these are what you're looking for, then perhaps provide more
info on what you want and maybe include some sample data.

HTH
Elkar



"Jason" wrote:

I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default IF/OR Logic Function

does one or the other have to take precedence or can they be equal

"T. Valko" wrote:

=IF(M8="1st Monday",I8,"")
=IF(K14="15th",I14,"")


Which of those should have precedence?

Take your pick:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

=IF(K14="15th",I14,IF(M8="1st Monday",I8,""))


--
Biff
Microsoft Excel MVP


"Jason" wrote in message
...
I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF/OR Logic Function

Ok, after reading your follow-up to Elkar, this will do what you want:

=(M9="1st Monday")*I9+(K14="5th")*I14

--
Biff
Microsoft Excel MVP


"Jason" wrote in message
...
does one or the other have to take precedence or can they be equal

"T. Valko" wrote:

=IF(M8="1st Monday",I8,"")
=IF(K14="15th",I14,"")


Which of those should have precedence?

Take your pick:

=IF(M8="1st Monday",I8,IF(K14="15th",I14,""))

=IF(K14="15th",I14,IF(M8="1st Monday",I8,""))


--
Biff
Microsoft Excel MVP


"Jason" wrote in message
...
I cannot figure out how to nest a logic funtion.

I have =IF(M8="1st Monday",I8,"")

I would like to nest =IF(K14="15th",I14,"")

in the same cell.

Thanks for the help

Jason






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
Logic function for between pallen Excel Discussion (Misc queries) 3 January 4th 08 11:38 PM
Wording's Colour Change for Logic Function Air Lancer Excel Discussion (Misc queries) 2 January 23rd 06 11:52 AM
Logic Function Help… thomasstyron Excel Discussion (Misc queries) 3 July 25th 05 10:40 PM
Wording's Colour Change for Logic Function Air Lancer Excel Discussion (Misc queries) 1 May 11th 05 03:56 PM
Excel Logic Function Dennis Excel Discussion (Misc queries) 3 December 28th 04 04:23 PM


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