+ Reply to Thread
Results 1 to 3 of 3

Formula based off of number of records

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    112

    Formula based off of number of records

    Hello All,
    I appreciate all the help you have provided me over the last few weeks - I'm almost done with my project!

    I asked a similar question earlier, marked it solved, and now have a follow up. On the attached in cell K24, I need to spread its value ($26,967.00) evenly across G30:G44. As you can see, there are 2 products in this section (G31 and G32) so the values for both these fields should be -26,976/2 = -13,483.5. Now, if there were another value added to G33, then I need the formula to update to -26,976/3 and so on and so forth. If there are no values in G30:G44 then I would like the to see 0 in those cells.
    I hope Im not being confusing..it is super late

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Formula based off of number of records

    Wrap the formula in a blank test;

    =IF(F30="","",$K$24/(COUNT($F$30:$F$44)))

    You'll need to do this in the adjacent column, too:

    =IF(F30="","",formula)

    It's super early here ...
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    112

    Re: Formula based off of number of records

    thank you!

+ 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: 6
    Last Post: 03-09-2020, 05:49 AM
  2. count number of records per month based on criteria
    By nd2828 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-17-2018, 01:12 PM
  3. [SOLVED] Formula to calculate the Number of filtered records and the number of records Met
    By robertguy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-11-2018, 09:49 AM
  4. code to generate serial number based on number of records
    By winmaxservices1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2015, 03:21 AM
  5. [SOLVED] Simple dynamic chart based on number of records
    By AlexnL12 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-26-2014, 12:55 AM
  6. Replies: 0
    Last Post: 07-07-2014, 04:31 PM
  7. [SOLVED] Display with first three text name with highest number of records based on date
    By abraham30 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2014, 07:01 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