+ Reply to Thread
Results 1 to 6 of 6

Stop VSTACK from turning blanks to 0s

  1. #1
    Registered User
    Join Date
    04-05-2023
    Location
    Malm?, Sweden
    MS-Off Ver
    365
    Posts
    31

    Stop VSTACK from turning blanks to 0s

    Hi!
    I have a sheet with lots of tables with measurements that I add together with VSTACK(). These measurements can be 0 and also blank. However, when I put them together, VSTACK() turns all the blanks to 0's.

    Is there a way to prevent this?

    Any leads are very appreciated!
    Adrian
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Stop VSTACK from turning blanks to 0s

    Pls try this formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Stop VSTACK from turning blanks to 0s

    Another option that keeps the values as numbers
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-05-2023
    Location
    Malm?, Sweden
    MS-Off Ver
    365
    Posts
    31

    Re: Stop VSTACK from turning blanks to 0s

    Both of you - thank you so much! This was really helpful. I ended up choosing the IF()-function, as it allowed me to do more calculations on the resulting array, but both options was efficient at solving the issue I asked for.

    Have a great day!
    Adrian

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Stop VSTACK from turning blanks to 0s

    Glad to help & thanks for the feedback.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Stop VSTACK from turning blanks to 0s

    @adrianostlund You're Welcome. Glad to help . Thank You for the feedback and rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] =A1&B1&C1 (Stop date from turning into serial number)
    By ashleyuk1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2013, 02:56 PM
  2. Stop numbers turning into ##
    By effin in forum Excel General
    Replies: 3
    Last Post: 02-10-2010, 10:15 PM
  3. Format Method - how do I stop a cell turning into a date?
    By ChrisMattock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2008, 09:19 AM
  4. Stop Web Toolbar From Turning On?
    By DCSwearingen in forum Excel General
    Replies: 4
    Last Post: 04-07-2008, 02:48 PM
  5. [SOLVED] How do I stop Excel from turning November 2006 into Nov-06?
    By Jessamine in forum Excel General
    Replies: 2
    Last Post: 05-23-2006, 01:42 PM
  6. Replies: 2
    Last Post: 02-23-2006, 09:40 AM
  7. stop (1) from turning into -1
    By Ferral in forum Excel General
    Replies: 2
    Last Post: 09-30-2005, 08:05 AM
  8. [SOLVED] how do i stop excell from turning the last five digits in a 20 di.
    By cingularws in forum Excel General
    Replies: 1
    Last Post: 03-28-2005, 11:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1