+ Reply to Thread
Results 1 to 4 of 4

Data validation forces entry in a range of cells.

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Smile Data validation forces entry in a range of cells.

    Hi

    Not sure it my description gave much of a clue.
    I have a simple accounts sheet in Excel.
    I do not as yet know VB. Just getting a handle on functions.

    I have a column (E) of numbers, amounts paid out of the bank. I have a category column (G)which is populated with categories using data validation. I have columns to the right which are named as in the data validation options. Is there an automatic way that once the category has been chosen the amount be automatically entered in the appropriate column (drawings in the attached example) and in the same row P2.

    Thanks to all who read this and a special thanks to anyone who has any suggestions as this would make what I am doing have less errors.

    Mark

    I am using excel 2010.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Data validation forces entry in a range of cells.

    J2: =IF(J$1=$G2,$E2,"")

    copy across and down


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Re: Data validation forces entry in a range of cells.

    Fabulous. Such a small function so elegantly employed. Thanks a million

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Data validation forces entry in a range of cells.

    You're welcome. Thanks for the rep.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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