+ Reply to Thread
Results 1 to 3 of 3

change cell value based on another cell value

  1. #1
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    change cell value based on another cell value

    How to change cell value J2(Quantity) based on tank number in cell H2 (Tank no.) ?
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: change cell value based on another cell value

    Your current formula in J2 already factors in the value in H2

    =SUMIFS(C:C,A:A,H2,B:B,I2)

    In essence, it sums Column C values, when the value in Col A matches H2 (tank no.) and the value in Col. B also matches I2 (Depth metres). Since there is only a single match for a unique combination of Col A and Col B it returns the value of that match. In Row 2 it returns the value 1299473 (found in Cell C2906)

    Try changing the values in Cells H2 and I2 and see the values change in J2
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    Re: change cell value based on another cell value

    Oooops !“You are true!”

    Thanks for your help

+ 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: 6
    Last Post: 01-23-2018, 04:49 AM
  2. [SOLVED] EXCEL NEWB.....Change cell color based on text in a cell on another sheet
    By anon1988 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-27-2014, 12:16 AM
  3. Macro to change colour of cell based on finding a specific word in the cell
    By Shelby761 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2014, 09:46 AM
  4. Replies: 5
    Last Post: 12-07-2013, 02:21 PM
  5. Replies: 3
    Last Post: 11-08-2013, 03:10 PM
  6. Replies: 3
    Last Post: 12-16-2012, 12:49 PM
  7. Change cell values based on Active Cell Address in Excel 2007 with no VBA
    By bdmistri in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2009, 02:01 PM

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