+ Reply to Thread
Results 1 to 7 of 7

Add Description for given dates

Hybrid View

jeck876 Add Description for given... 07-30-2015, 02:42 PM
JeteMc Re: Add Description for given... 07-30-2015, 04:35 PM
jeck876 Re: Add Description for given... 07-30-2015, 05:23 PM
JeteMc Re: Add Description for given... 07-30-2015, 05:50 PM
JeteMc Re: Add Description for given... 07-30-2015, 05:34 PM
jeck876 Re: Add Description for given... 07-30-2015, 05:41 PM
FDibbins Re: Add Description for given... 07-30-2015, 05:57 PM
  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Add Description for given dates

    I have two columns of Data.

    The First Column is Dates and the second one is amounts.

    At some point in the first column the dates will start over. (Not always on the first day of the month)

    I need to add a description to each transaction. I need the description to be what ever is in Cell A1 until when the dates start over.
    I need them to change to what ever is in B1.

    For this example I have Withdrawal and Deposit.

    In the sheet attached is an example

    Everything to the left of the yellow line is my desired outcome.

    Thanks!!!!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,879

    Re: Add Description for given dates

    Assuming that the dates on the left side of the yellow line are the actual dates, the following formula gives the results for which you were asking:

    =IF(C2<C1,A$2,IF(B1="",A$1,B1))
    Here is your file with the formula incorporated on the left side:

    Copy of Example Book 6.xlsx

    Let me know if there are any questions.

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Add Description for given dates

    this is exactly what i am looking for except...is there anyway to do it while having my data in the first row??

    i should have added this point earlier...i want the same thing to happen but all my data to just be shifted up one row, to row A

    thanks

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,879

    Re: Add Description for given dates

    I tried to wrap the formula in an IFERROR(...,A$1) to account for starting on the first row, but could not get it to work. You could certainly just type in "Withdrawal" or use the formula
    =A1
    for that one description cell.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,879

    Re: Add Description for given dates

    Will the description of the first transaction always be a withdrawal?

  6. #6
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Add Description for given dates

    yes, it will always be a withdrawal

  7. #7
    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
    53,048

    Re: Add Description for given dates

    So, you dont have any headings for this?
    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

+ 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. stock description changes
    By makinmomb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2014, 05:58 AM
  2. [SOLVED] Different sets of dates compared to a static number (Lame description, but I'm lost)
    By dbshua in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-29-2013, 10:08 AM
  3. How to get computer description..
    By duanzhuanming in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 04:40 AM
  4. [SOLVED] Getting data from another sheet using dates & description as criteria.
    By Fotis1991 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-27-2012, 11:16 AM
  5. Filter rows with same dates and keyword from description
    By timarcarze in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 08-20-2008, 07:23 AM
  6. Cell Description
    By Blunger1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2008, 07:37 PM
  7. Add-in Description
    By Geoff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2006, 09:45 AM

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