+ Reply to Thread
Results 1 to 4 of 4

I want to autopopulate bill info for a given pay period, based on due date

  1. #1
    Registered User
    Join Date
    10-22-2016
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    2

    I want to autopopulate bill info for a given pay period, based on due date

    My paychecks are every other Friday. I want to auto-populate for a given pay period what bills to pay. Here's the pseudo code:

    if [cell:pay date] > 15 and [cell:bill due date] is < 15, then insert [cell: bill name] into [cell: pay period bill name] and [cell: bill amt] into [cell: pay period bill amt]
    if [cell:pay date] < 15 and [cell:bill due date] is > 15, then insert [cell: bill name] into [cell: pay period bill name] and [cell: bill amt] into [cell: pay period bill amt]

    Thank you!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,736

    Re: I want to autopopulate bill info for a given pay period, based on due date

    Try

    in cell "Period Bill Name"

    =IF(AND(DAY(cell:pay date)>15,day(cell:bill due date)<15),cell:Bill name ,IF(AND(DAY(cell:pay date])<15,day(cell:bill due date)>15),Cell:Bill Name),"")

    in cell "Pay Bill Period Amount"

    =IF(AND(DAY(cell:pay date)>15,day(cell:bill due date)<15),cell:Bill Amt ,IF(AND(DAY(cell:pay date])<15,day(cell:bill due date)>15),Cell;Bill Amt),""),"")

    Reverse > and < for second condition

    What about "equal" condtions

    so ">=" and "<="

  3. #3
    Registered User
    Join Date
    10-22-2016
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    2

    Cool Re: I want to autopopulate bill info for a given pay period, based on due date

    The double quotes at the end gave me a "too many arguments" error so I backed off of them and it worked! Exactly what I was looking for and could never have figured out on my own. Thank you!!

    Kudos for recognizing I needed to consider = 15 as well.

    -Mary

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,736

    Re: I want to autopopulate bill info for a given pay period, based on due date

    Sorry about the double quotes: I didn't intend you use them .. merely to highlight the required change!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 2
    Last Post: 08-19-2014, 10:59 AM
  2. Replies: 1
    Last Post: 08-06-2014, 05:08 AM
  3. [SOLVED] Semi Monthly autofill Period Starting Date based on Period Ending Date
    By greatwent in forum Excel General
    Replies: 6
    Last Post: 01-30-2014, 03:29 AM
  4. Replies: 0
    Last Post: 01-31-2013, 12:29 PM
  5. Autopopulate cell based on info selected in Data Validation list
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2012, 12:42 AM
  6. Autopopulate a spreadsheet based on specific info from another spreadsheet
    By Boitumelo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2011, 05:48 AM
  7. Replies: 1
    Last Post: 06-29-2010, 04:51 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