+ Reply to Thread
Results 1 to 4 of 4

Formulas that can account for additional data

Hybrid View

  1. #1
    Registered User
    Join Date
    06-14-2020
    Location
    Warren, MI
    MS-Off Ver
    MS Office Professional 2019
    Posts
    2

    Formulas that can account for additional data

    I am trying to set up a spreadsheet with formulas that will do some simple counting calculations. I know how to set up the formulas, but the sticking point is that I was hoping to find a way set up a spreadsheet with the formulas that will accommodate new data.


    The data is patient visits for resident physicians, and I need some faculty to be able to paste the data into a spreadsheet and I want the spreadsheet to have the simple count formulas set up somewhere. Each time the faculty will paste the data, there will be more or less data each time, so the way I know how of inserting a formula in a set cell with a fixed ranged is something I know will not work.

    Example: in the fall, there might be 50 rows of data and in the spring there might be 100. I know I can use a new sheet and put the formula to count the data in question there, but is there a way to make the formula accommodate a range that varies?

    Thanks in advance for any ideas.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Formulas that can account for additional data

    Post a sample workbook with some typical, anonymised data.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-26-2015
    Location
    Sofia, Bulgaria
    MS-Off Ver
    2019
    Posts
    8

    Re: Formulas that can account for additional data

    A sample would clearly do good but:
    - Chances are your data allows for you to use not a fixed range but an entire column.
    Formula: copy to clipboard
    =COUNT(A1:A20)
    is limited byt the range.
    Formula: copy to clipboard
    =COUNT(A:A)
    goes through the entire sheet.

    - Plenty of posts around here and all over the internet would show you how to use tables (Ctrl+T) and then use structured referencing to always count in the column you need:
    Formula: copy to clipboard
    =COUNT(Visits_Table[Visits '#])
    --
    TG|ЕS

  4. #4
    Registered User
    Join Date
    06-14-2020
    Location
    Warren, MI
    MS-Off Ver
    MS Office Professional 2019
    Posts
    2

    Re: Formulas that can account for additional data

    Thank you! Definitely food for thought and things to try. I really appreciate it.

+ 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. Create separate account statements from each row of account data
    By mmoore5553 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-05-2019, 10:13 AM
  2. [SOLVED] Add additional Formula using two VBA Formulas
    By dondada82 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2017, 02:22 AM
  3. [SOLVED] Add additional Data Validation for selection in INDIRECT formulas
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-20-2016, 10:49 AM
  4. Using Formulas to Display Account Balance
    By lauren.cbj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-15-2016, 02:08 PM
  5. formulas that show other data only from Account Number ( need help plz )
    By zitno in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 09-13-2014, 07:35 PM
  6. How can I expand the IF formula to take into account additional parameters?
    By simonjacobson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2013, 05:04 AM
  7. [SOLVED] Taking in account additional rows
    By JB12 in forum Excel General
    Replies: 3
    Last Post: 12-27-2005, 02:10 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