SOLVED
Home

IF formula help

drt_80
Occasional Contributor

I am trying to write a formula, that will automatically fill if Cell C34 is greater than 0 and fill in a few other cells.

In the attachment, if Cell34 is greater than 0, I would like for Cell B35 to populate the following month and Cell C35 to populate the corresponding Available Work Days (Column H). Then if Cell C36 is greater than 0, have Cell B39 populate with the following month, and then have CellC40 populate the corresponding Available Work Days (Column H).

 

Is this possible?

 

Thanks in advance.

2 Replies
Solution

@drt_80 , you can use these formulas.

 

In cell B35  (you had manually entered the 31st September, but September has only 30 days)

 

=IF(C34>0,EOMONTH(B34,1),"")

 

in cell C35

 

=IF(B35<>"",VLOOKUP(B35,$A$17:$H$32,8,FALSE),0)

 

in cell B39

 

=IF(C36>0,EOMONTH(B35,1),"")

 

in cell C40

 

=IF(B39<>"",VLOOKUP(B39,$A$17:$H$32,8,FALSE),0)

 

 

 

@Ingeborg Hawighorst  Perfect, Thank you!

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies