Thread: IF STATEMENT
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default IF STATEMENT

=IF(AND(Sheet1!A1="P",ErrRpt2!C5="Corp"),'Sch 7'!G7,0)


"mac" wrote:

Hello,

My brain is not working today. I have an if statement
=IF(ErrRpt2!C5="Corp",'Sch 7'!G7,0)
Now I want to nest another IF statement to this,
If sheet 1=P, Sch 7,'Sch 7'!G7,0)
Any help will be appreciated.
--
thank you mac