Solved

Excel - Display Formula Result Beyond Cell Boundary

Posted on 2014-03-25
2
473 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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 article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

744 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

10 Experts available now in Live!

Get 1:1 Help Now