+ Reply to Thread
Results 1 to 7 of 7

COUNTIFS based on HIJRI&Gregorian Years and months

  1. #1
    Registered User
    Join Date
    12-26-2016
    Location
    SA, KSA
    MS-Off Ver
    2010, 2013, 2016, 2019
    Posts
    44

    Question COUNTIFS based on HIJRI&Gregorian Years and months

    Hi everyone, this is my first post.

    I want to summarize/Count the set of data based on Hijri and Gregorian Years and Months, but the problem is the date columns contain BLANKS, TEXT and few cell values are based on formula.

    I'm attaching excel2010 worksheet as an example.

    Your help will highly be appreciated.

    Thanks
    Qadeer
    Attached Files Attached Files
    Last edited by qadeerume; 12-27-2016 at 01:16 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    Hi, welcome to the forum

    I dont think your attachment came through?
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-26-2016
    Location
    SA, KSA
    MS-Off Ver
    2010, 2013, 2016, 2019
    Posts
    44

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    Attachment is uploaded. Thanks!

  4. #4
    Registered User
    Join Date
    12-26-2016
    Location
    SA, KSA
    MS-Off Ver
    2010, 2013, 2016, 2019
    Posts
    44

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    any help guys?

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    Try this ...

    In H3:

    =SUMPRODUCT(--(LEFT($D$2:$D$44,4)=$G3&""),--(MID($D$2:$D$44,6,2)=TEXT(H$2,"00")))

    In H4:

    =COUNTIFS($E$2:$E$44,">="&DATE($T4,H$2,1),$E$2:$E$44,"<"&DATE($T4,H$2+1,1))
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-26-2016
    Location
    SA, KSA
    MS-Off Ver
    2010, 2013, 2016, 2019
    Posts
    44

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    Thank you so much @Phuocam I'm obliged and thanks for your time in helping me out.!!!

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: COUNTIFS based on HIJRI&Gregorian Years and months

    You are welcome!

+ 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. Automated Annual Calendar Gregorian Hijri
    By IMA_Saihat in forum Tips and Tutorials
    Replies: 5
    Last Post: 10-31-2015, 09:57 AM
  2. if cell value is hijri or gregorian date?
    By adbasanta in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-07-2015, 07:11 AM
  3. identify if a date in a cell is hijri or gregorian..?
    By adbasanta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2015, 06:41 AM
  4. convert from Hijri Date to Gregorian
    By noexcel=badwork in forum Excel General
    Replies: 7
    Last Post: 11-04-2014, 03:21 AM
  5. converting hijri date to gregorian
    By mihaufo in forum Access Tables & Databases
    Replies: 1
    Last Post: 09-22-2014, 01:59 AM
  6. Gregorian Date from Hijri
    By Abdul in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2006, 12:25 PM
  7. [SOLVED] Gregorian to Islamic Hijri date conversion
    By Del Cotter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-15-2005, 01:15 PM

Tags for this Thread

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