Solved

Excel - Display Formula Result Beyond Cell Boundary

Posted on 2014-03-25
2
480 Views
Last Modified: 2014-03-26
I am working on the attached spreadsheet which includes the same formula in cells I2:P2.  When there are no values in the cells below, the formula is set to output a blank.  Is there a way for the display of a cell's results to span across over adjacent cells with null output to the right?  In other words, can I get J2 to look like J10 (achieved by deleting the formulas in K10 and L10)?  Deleting the formulas is less than ideal, and merging cells is not an option, nor would be resizing the cell / enabling word wrap.

Thanks in advance!
Test.xlsx
0
Comment
Question by:pcamis
2 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 39953981
Not really, you can't do that with formatting alone. You can set an on-calculation event in your workbook that will regenerate the formulas, analyze their results and according to the results, delete or not, but I think that's the only way you'll be able to achieve that (unless you expand the columns).

Thomas
0
 

Author Closing Comment

by:pcamis
ID: 39957229
Bummer - that's the answer I was afraid of.  This is just a small section of a much more expansive spreadsheet, so I don't have the option to expand the columns any wider, on top of which the result will occasionally be much longer.  If I pursue this project further, I may just have to delete the formula from adjacent cells, but this would end being extra work for others when manipulating the sheet.

Thanks for the confirmation, Thomas!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now