+ Reply to Thread
Results 1 to 11 of 11

Apply forluma on formulated rows

  1. #1
    Registered User
    Join Date
    09-12-2014
    Location
    Norman
    MS-Off Ver
    2010
    Posts
    37

    Smile Apply forluma on formulated rows

    Hello,

    I have applied array formula on sheet 2 to automatically update data from sheet 1. Now I want to apply count operation on these fields in sheet 2. Unfortunately I am unable to sort the fields or I am able to apply count operation. Do you think Excel does not identify the fields.

    Thanks in advance.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Apply forluma on formulated rows

    Hi

    Difficult to say without seeing the workbook. Please upload.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Apply forluma on formulated rows

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    09-12-2014
    Location
    Norman
    MS-Off Ver
    2010
    Posts
    37

    Re: Apply forluma on formulated rows

    Attached is the dummy sheet. Look at sheet3. The data is truncated from other sheet using array formula. I want to apply a count function on this data, but its results in 0.

    Thank you

  5. #5
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Apply forluma on formulated rows

    The date is the problem. Column B seems to be specific days, for example, B16 is 12/7/2013. Your "=countif" formula is just searching for "2013", so that's why it can't find any matches. If you change B16 to 2013, L9 will return a result of 1. So you need to fix your dates.

  6. #6
    Registered User
    Join Date
    09-12-2014
    Location
    Norman
    MS-Off Ver
    2010
    Posts
    37

    Re: Apply forluma on formulated rows

    Thank you,

    I got it. But as I said I am automatically pulling data into this sheet from different sheet, and the date format in the main sheet is dd/mm/yyyy hr:mm:ss. I want to generate a chart based on just years like 2013 and 2014. I don't care the date and month. Any solution for this task?

  7. #7
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Apply forluma on formulated rows

    Easiest way is to just insert a new Column C and enter the formula below. Then update your "=COUNTIF" formula to reference Column C instead of Column B.

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

  8. #8
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Apply forluma on formulated rows

    And obviously copy down the formula from C2 all the way down.

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Apply forluma on formulated rows

    Try this......
    In L7
    Please Login or Register  to view this content.
    and copy down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  10. #10
    Registered User
    Join Date
    09-12-2014
    Location
    Norman
    MS-Off Ver
    2010
    Posts
    37

    Re: Apply forluma on formulated rows

    That worked perfectly well!!!

    Thank you.

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Apply forluma on formulated rows

    Here is a different approach. It is a Pivot Table. Pivot tables will not show values that are not in the data and therefore will not give a zero for where there isn't data. It will however use the dates as they arrive from your source if it is a real Excel date without having to isolate the year. You can also almost instantly change the year that you are interested in and the Application if there is more than 1. In addition....no formulae required.

+ 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. How To Automatically Add Formulated Rows Without Macro?
    By pbnc-inu in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-17-2021, 06:20 AM
  2. How to apply to variable number of rows / dynamic rows only.
    By RaptureAG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2014, 07:26 AM
  3. Copyiing formulated rows from one sheet to another
    By mscarr in forum Excel General
    Replies: 6
    Last Post: 12-18-2013, 11:54 PM
  4. Automate formulated rows based on user input
    By G2S in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-01-2012, 10:06 PM
  5. Extending Forluma to last row
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-12-2011, 12:54 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