![]() |
if, then display message
Hi, i have this code. It's working great. I need to modify a little bit this
code without alter this code. I need just to add one more thing: {=IF(NOT(SUMPRODUCT(--(Sheet1!A1:C1=TODAY()),--(Sheet2!A1:G1<""))),"Please pay", IF(COUNT(Sheet1!A1:C1),IF(TODAY()=MAX(Sheet1!A1:C 1),"Expired",INDEX(Sheet1!A1:C1,,MIN(IF(Sheet1!A1: C1TODAY(),COLUMN(Sheet1!A1:C1)))-COLUMN(Sheet1!A1:C1)+1)-TODAY()),""))} If in Sheet1!A1:C1 thecode finds "OP", then to display "integral" Can this be done without to alter the code? Thanks! |
if, then display message
try this
=IF(Sheet1!A1:C1="OP","integral",IF(NOT(SUMPRODUCT (--(Sheet1!A1:C1=TODAY()),--(Sheet2!A1:G1<""))),"Please pay",IF(COUNT(Sheet1!A1:C1),IF(TODAY()=MAX(Sheet1 !A1:C1),"Expired",INDEX(Sheet1!A1:C1,,MIN(IF(Sheet 1!A1:C1TODAY(),COLUMN(Sheet1!A1:C1)))-COLUMN(Sheet1!A1:C1)+1)-TODAY()),""))) -kc *Click YES if this helps "puiuluipui" wrote: Hi, i have this code. It's working great. I need to modify a little bit this code without alter this code. I need just to add one more thing: {=IF(NOT(SUMPRODUCT(--(Sheet1!A1:C1=TODAY()),--(Sheet2!A1:G1<""))),"Please pay", IF(COUNT(Sheet1!A1:C1),IF(TODAY()=MAX(Sheet1!A1:C 1),"Expired",INDEX(Sheet1!A1:C1,,MIN(IF(Sheet1!A1: C1TODAY(),COLUMN(Sheet1!A1:C1)))-COLUMN(Sheet1!A1:C1)+1)-TODAY()),""))} If in Sheet1!A1:C1 thecode finds "OP", then to display "integral" Can this be done without to alter the code? Thanks! |
All times are GMT +1. The time now is 11:06 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com