Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

Excel - Display Formula Result Beyond Cell Boundary

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
Dan Carp
Asked:
Dan Carp
1 Solution
 
nutschCommented:
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
 
Dan CarpIT DirectorAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now