+ Reply to Thread
Results 1 to 7 of 7

Link Status Bar sum amount to a cell

  1. #1
    Registered User
    Join Date
    04-24-2017
    Location
    USA
    MS-Off Ver
    365
    Posts
    83

    Link Status Bar sum amount to a cell

    Hello All,

    I was wondering if there is a way to link the sum that is shown in the status bar when you highlight multiple cells to a specific cell, or if highlighting cells can be summed in a given cell.

    Basically, I have long spreadsheets relating to invoices, sometimes with numerous values on them, and want to be able to quickly tie certain amounts to the totals I should have.

    Here's a brief example of what I am looking at. Below are my totals

    (163,044.71)
    24,425.37
    82,764.39
    53,451.85
    2,403.10

    And here's a snip of my data set

    542.73
    8.03
    5,111.58
    5,111.58
    15.00
    15.00
    (15.00)
    (5,111.58)
    114.30
    262.01
    446.64
    23.13
    262.01
    446.64
    23.13
    446.64
    23.13
    446.64
    23.13

    85.86
    45.88
    2,016.11
    1.98
    3,176.69
    900.00
    0.30
    1,330.77
    49.51

    The items highlighted in red tie to the last balance in the total sheet, 2,403.10. And this one was easy for me to find because it was all from the same vendor. It becomes tricky when the totals go across multiple vendors or items. So what I want to do is have a cell referenced to sum up the cells I currently have highlighted, and use a total cell where I input the total I need, and I can use this cell minus the cell that is summing all the cells I highlighted to quickly show me how much my totals are off.

    So my cells would look like this A1 = 2403.10, B1 = Status Bar Link, C1 = A1-B1

    Currently what I do is just use the calculator and subtract the total in the status bar from the total I'm looking for, but it would be much easier to just unclick and re-highlight areas until I find the totals that agree to the balances I have.

    This probably can't be done, but this group here has helped me figure out so many short cuts, I figured I would ask. Google has been no help in my search. And if this can't be done, someone should make it happen

    Thanks in advance

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Link Status Bar sum amount to a cell

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    04-24-2017
    Location
    USA
    MS-Off Ver
    365
    Posts
    83

    Re: Link Status Bar sum amount to a cell

    Thanks for that, can you explain what I do with this code now? I have a bunch of Macros I use, do I just add it to that list?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Link Status Bar sum amount to a cell

    We don't know what your workbook vba project looks like (where the macros are, etc.) The code I gave you only works on a single sheet.
    Activate the desired sheet.
    right click the sheet tab
    paste the code there. (I don't know if you already have SelectionChange code for that sheet....)

  5. #5
    Registered User
    Join Date
    04-24-2017
    Location
    USA
    MS-Off Ver
    365
    Posts
    83

    Re: Link Status Bar sum amount to a cell

    I see, thanks for the help. That is a pretty awesome tool.

  6. #6
    Registered User
    Join Date
    04-24-2017
    Location
    USA
    MS-Off Ver
    365
    Posts
    83

    Re: Link Status Bar sum amount to a cell

    Hi, I just realized there is one issue with this code. I need it to be able to sum up all of the items I need which may not be in adjacent cells. ie I hit CTRL and highlight cells I need, release the mouse and click other cells and the second group of cells do not show up in the sum.

    Thoughts?

    Thanks in advance

  7. #7
    Registered User
    Join Date
    04-24-2017
    Location
    USA
    MS-Off Ver
    365
    Posts
    83

    Re: Link Status Bar sum amount to a cell

    Can anyone else chime in on this? I need my total to show all highlighted items, as the sum in the status bar would if I clicked multiple amounts throughout a sheet.

    Thanks

+ 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. Replies: 1
    Last Post: 10-04-2017, 02:28 AM
  2. Replies: 1
    Last Post: 10-04-2017, 02:21 AM
  3. Replies: 2
    Last Post: 10-04-2017, 01:53 AM
  4. Sum of a status column LEFT BLANK corresponding to a dollar amount!
    By rsharma017 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2017, 04:09 PM
  5. Replies: 3
    Last Post: 09-11-2014, 04:32 PM
  6. [SOLVED] Link File Source Status
    By Tiger20 in forum Excel General
    Replies: 2
    Last Post: 07-04-2014, 01:08 AM
  7. Replies: 4
    Last Post: 04-08-2012, 09:43 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