+ Reply to Thread
Results 1 to 5 of 5

change values in other set of cells based on cell value in principal cell

  1. #1
    Registered User
    Join Date
    06-27-2020
    Location
    -
    MS-Off Ver
    2016
    Posts
    2

    Cool change values in other set of cells based on cell value in principal cell

    Hello !

    I am looking forward to getting some help with creating a spreadsheet dealing with money borrowing and repayments. As of now I just need to create a spreadsheet whereby I can just write the amount of cash my friend(s) have borrowed.

    Suppose I use cell A1 to drop down list of my friend's names , for instance [A,B,C,D].

    Let C4="Money Borrowed"

    I want to write the amount of money borrowed in cells C5 and and down such as C5:C20. However, I want the values in the cells C5:C20 to be specific to each person, based on cell A1.

    For eg, if A1="B"

    C5= 2.5$, C6= 5$, C7 = 8$.

    Then when I want to write down for money I lent to my friend "C". Let A1="C", I want the values in cells C5:C20 to be gone so that I can write down for friend "C". I want the values in cells C5:C20 to be saved under each friend depending on cell A1 value.

    How may I do this?


    eg 1.JPG
    eg2.JPG

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: change values in other set of cells based on cell value in principal cell

    Here's a slightly different approach for your consideration.

    fuwad98.png

    Note the down arrows on the row-1 columns. This is an "autofilter".

    To see friend "A"'s entries, click on the cell A1 down arrow and select "A". You will now see the 5 "A" transactions. Select "B" in the autofilter and you will see just friend "B"'s transactions.

    When you (hopefully) get a repayment you can enter the column-C amount as a negative value.

    Cell C12 is a balance. If you filter on column-A for, say, friend "A" the balance will automatically adjust to reflect just the transactions related to friend "A". The formula in that cell is: =SUBTOTAL(9,C2:C11)

    The attached workbook implements the above.

    Hope this helps!
    Attached Files Attached Files
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  3. #3
    Registered User
    Join Date
    06-27-2020
    Location
    -
    MS-Off Ver
    2016
    Posts
    2

    Re: change values in other set of cells based on cell value in principal cell

    Thanks a lot for it. Very much appreciated.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: change values in other set of cells based on cell value in principal cell

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


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: change values in other set of cells based on cell value in principal cell

    Glad to help. Thanks for the feedback and reputation points

+ 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. [SOLVED] Change cell value and color based on anothers cells values
    By luizmachado in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2016, 07:01 PM
  2. Automatically Change Sheet Names Based On Cell Values - merged cells
    By Elizabethz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2014, 11:35 AM
  3. Change a cells address based on values in another cell.
    By exclusiveicon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2014, 06:21 PM
  4. Change text of cell based on two other cells with equal values
    By spookymyo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2013, 02:21 PM
  5. Change one cell based on the values of two cells
    By jonathanchacon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2011, 06:30 AM
  6. Change cell values based on other cells.
    By a.velganesh in forum Excel General
    Replies: 2
    Last Post: 02-03-2011, 06:38 AM
  7. Change the value of a cell based on prior cells values
    By kd7980 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-31-2010, 11:14 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