Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2017, 05:04 AM
TabH TabH is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Novice
How to leave the next cell blank when a condition is met
 
Join Date: Apr 2017
Posts: 6
TabH is on a distinguished road
Default How to leave the next cell blank when a condition is met

Hi



Can anyone help with this problem.

I have put together a prepaid expenses schedule that calculates the prepaid values across the year. When the prepayment is fully used, the next cell shows the text "Delete Line" and is highlighted using conditional formatting. If I copy the formula beyond this point it still shows "Delete Line" in all of the following cells. Is it possible to to show this message only the once and leave all copied cells to the right as blank cells.

Many thanks

TabH
Reply With Quote
  #2  
Old 04-14-2017, 06:52 AM
xor xor is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Can you show us your file?
Reply With Quote
  #3  
Old 04-14-2017, 07:14 AM
TabH TabH is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Novice
How to leave the next cell blank when a condition is met
 
Join Date: Apr 2017
Posts: 6
TabH is on a distinguished road
Default

Please see attached file

TabH
Attached Files
File Type: xlsx Prepaid Expenses 140417.xlsx (11.8 KB, 14 views)
Reply With Quote
  #4  
Old 04-14-2017, 08:20 AM
xor xor is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I see more problems here.

My first thought was to use conditional formatting to make all second and higher instances of "Delete Line" invisible by making the font equal to the background, but as you use different background (white and grey) that may not be an option. Could you possibly accept same background for all months?

A problem is that you doesn't seem to use real Excel dates in I7:U7 but text strings (I may be wrong here as I don't use US-settings)

I have problems understanding what it is you try to attempt. If we take a look at row 10, can you explain very simply what 47.83 and 14.88 in cells I10 and J10 mean.
Reply With Quote
  #5  
Old 04-14-2017, 09:18 AM
xor xor is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

You might want to take a look at the attached.
Attached Files
File Type: xlsx Prepaid Expenses_2.xlsx (16.6 KB, 15 views)
Reply With Quote
  #6  
Old 04-14-2017, 10:18 AM
xor xor is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If you don't like the conditional formatting approach you can try the following formula in cell I10:

=IF(($G10-DATEDIF($E10,EOMONTH(I$7,0),"d")<0)*(ISNUMBER(H10) ),"Delete Line",IF(($G10-DATEDIF($E10,EOMONTH(I$7,0),"d")<0)*(ISTEXT(H10)), "",($G10-DATEDIF($E10,EOMONTH(I$7,0),"d"))*$H10))

and copy as required.
Reply With Quote
  #7  
Old 04-15-2017, 02:35 AM
TabH TabH is offline How to leave the next cell blank when a condition is met Windows 10 How to leave the next cell blank when a condition is met Office 2016
Novice
How to leave the next cell blank when a condition is met
 
Join Date: Apr 2017
Posts: 6
TabH is on a distinguished road
Default

Hi Xor

Both the conditional formatting and the formula seem to work fine.

I appreciate your help.

Many thanks

TabH
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation - Prevent blank cell based on a condition dawd Excel 2 08-12-2015 05:44 AM
How to leave the next cell blank when a condition is met Formulato say if cell is blank do this, if not blank do this. mbesspiata Excel 1 01-17-2015 05:02 AM
How to leave the next cell blank when a condition is met Place 0 in blank cell mbesspiata Excel 5 06-20-2014 07:00 PM
Copying data from one cell to another where condition is third cell fairyca Excel 4 03-30-2014 08:22 AM
How to leave the next cell blank when a condition is met Formula in a Cell with condition? Learner7 Excel 1 07-19-2010 10:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft