ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF STATEMENT (https://www.excelbanter.com/excel-worksheet-functions/124355-if-statement.html)

Mac

IF STATEMENT
 
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

Teethless mama

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



All times are GMT +1. The time now is 01:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com