+ Reply to Thread
Results 1 to 4 of 4

Formula in one cell that picks up another based on dates provided in the same sheet

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    34

    Formula in one cell that picks up another based on dates provided in the same sheet

    Hiya,

    I am looking for a formula that will pick up whatever is in one cell based in if the date above is within that certain month and then duplicate the formula for each month so only figures for that month will appear on the first worksheet.

    I need a formula for Monthly Salary & Wages TAB cell C6 (Which is a cell for the total July Salaries and wages) to look at the Payrun Pay Dates in the Summary of LPS Salary & Wages TAB and add all the amounts up in row 6 if they are for the July month. I then will also need this to flow across to each month so i can get a total figure for each month.

    I hope someone can help me!

    Thanks

    LPS.xlsx

  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,933

    Re: Formula in one cell that picks up another based on dates provided in the same sheet

    It would make more sense if you actually put some values in to test with? your S&W row is empty (has only 0's) and your Date row has dates in 1900

    But from the sounds of it, I think you need to look at using the sumifS() function?

    If you provide a better sample, you will probably get a better suggestion
    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
    02-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Formula in one cell that picks up another based on dates provided in the same sheet

    Oh okay, Thankyou

    I have provided a version will some information included.

    Thanks!

    LPS - TEST.xlsx

  4. #4
    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,933

    Re: Formula in one cell that picks up another based on dates provided in the same sheet

    See?

    Based of the sample you provided, use this, copied across...

    =SUMIFS('Summary of LPS Salary & Wages'!$6:$6,'Summary of LPS Salary & Wages'!4:4,">="&'Monthly Salary & Wages'!C$3,'Summary of LPS Salary & Wages'!4:4,"<"&'Monthly Salary & Wages'!D$3)

+ 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. Locking a cell that contains a formula that has provided a result
    By redders in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2010, 05:14 AM
  2. Replies: 1
    Last Post: 08-15-2008, 07:15 AM
  3. Replies: 2
    Last Post: 07-17-2008, 08:37 AM
  4. [SOLVED] CELL that picks up or inserts text with formula
    By MikeR-Oz in forum Excel General
    Replies: 2
    Last Post: 02-26-2006, 06:45 AM
  5. [SOLVED] How do I write a formula to color code based on dates provided or.
    By jaime in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2005, 10:06 AM

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