Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel - Display Formula Result Beyond Cell Boundary

Posted on 2014-03-25
2
Medium Priority
?
504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

604 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