#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Excel formula

Hi,
I'm trying to return a string if either of 2 conditions are present in the
same cells.
I'm trying to run with
=IF(AND(R$2=6,$A5="Weekly"),"Report",IF(AND
R4=TRUE,N5="Monthly"),"Report",""))
What I want is if R2=6 and A5=weekly to return Report
OR
if R4=True and N5=Monthly to return Report ......otherwise remain blank.
Any ideas ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Excel formula

=if(or(and(R$2=6,$A5="Weekly"),AND (R4=TRUE,N5="Monthly")),"Report","")

"DamienO" wrote:

Hi,
I'm trying to return a string if either of 2 conditions are present in the
same cells.
I'm trying to run with
=IF(AND(R$2=6,$A5="Weekly"),"Report",IF(AND
R4=TRUE,N5="Monthly"),"Report",""))
What I want is if R2=6 and A5=weekly to return Report
OR
if R4=True and N5=Monthly to return Report ......otherwise remain blank.
Any ideas ?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Excel formula

Thanks bj

"DamienO" wrote:

Hi,
I'm trying to return a string if either of 2 conditions are present in the
same cells.
I'm trying to run with
=IF(AND(R$2=6,$A5="Weekly"),"Report",IF(AND
R4=TRUE,N5="Monthly"),"Report",""))
What I want is if R2=6 and A5=weekly to return Report
OR
if R4=True and N5=Monthly to return Report ......otherwise remain blank.
Any ideas ?

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
When I enter a formula, Excel shows the formula not the results Pat Adams Excel Worksheet Functions 5 April 4th 23 11:18 AM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel Formula Doesn't Execute (Shows formula-not the calcuation) Keys1970 Excel Discussion (Misc queries) 4 November 15th 06 02:12 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM


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