+ Reply to Thread
Results 1 to 5 of 5

How to get cells with static data to stay in the row it correlates to

  1. #1
    Registered User
    Join Date
    07-19-2015
    Location
    United States
    MS-Off Ver
    2007
    Posts
    3

    How to get cells with static data to stay in the row it correlates to

    I have a dynamic spreadsheet where columns A-K dynamically update and change. However I have one column where static data is entered manually (Quantity) and I cannot figure out how to get the static data to stay in the same row as the dynamic data that it correlates to.

    So basically I have column L which is the quantity of each item and I am trying to get the quantity of item (x) to stay in the same row as (x) where (x) is always changing rows when the dynamic data updates, however the static data (quantity) is not moving to the row of the item it previously corresponded to.

    Any help with this would be greatly appreciated.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to get cells with static data to stay in the row it correlates to

    So how do you derive the "quantity of item"?

    Can you attach a sample workbook? Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    07-19-2015
    Location
    United States
    MS-Off Ver
    2007
    Posts
    3

    Re: How to get cells with static data to stay in the row it correlates to

    This is solved, I was able to solve the above with the following.

    =INDEX('Add-Quantities-Here'!$ED$2:'Add-Quantities-Here'!$ED$1010,MATCH($B$2:$B$1002,'Add-Quantities-Here'!$A$2:'Add-Quantities-Here'!$A$1000,0))

    Although I have one issue I would like to resolve in this formula.

    I need to add an IF(ISERROR) function so that if there is no MATCH then result returns a 0 instead of an N/A.

    I've tried for quite some time to add an IF(ISERROR) function but couldn't get the correct resolution.

  4. #4
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to get cells with static data to stay in the row it correlates to

    try this:

    =IFERROR(INDEX('Add-Quantities-Here'!$ED$2:'Add-Quantities-Here'!$ED$1010,MATCH($B$2:$B$1002,'Add-Quantities-Here'!$A$2:'Add-Quantities-Here'!$A$1000,0)),0)
    If I've helped U pls click on d *Add Reputation

  5. #5
    Registered User
    Join Date
    07-19-2015
    Location
    United States
    MS-Off Ver
    2007
    Posts
    3

    Re: How to get cells with static data to stay in the row it correlates to

    Quote Originally Posted by bhenlee View Post
    try this:

    =IFERROR(INDEX('Add-Quantities-Here'!$ED$2:'Add-Quantities-Here'!$ED$1010,MATCH($B$2:$B$1002,'Add-Quantities-Here'!$A$2:'Add-Quantities-Here'!$A$1000,0)),0)
    That worked perfectly. 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. [SOLVED] Formula does not stay to static cells
    By coreytroy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-18-2014, 08:54 PM
  2. Replies: 1
    Last Post: 08-12-2013, 08:38 AM
  3. Replies: 2
    Last Post: 08-12-2013, 06:19 AM
  4. [SOLVED] Cell A1 contains specific #s, place X under row/column that correlates to that #
    By marshak in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 02:43 AM
  5. New Rows when New data is pasted - Static Cells
    By ZackG in forum Excel General
    Replies: 4
    Last Post: 03-01-2011, 11:54 AM
  6. Cannot get time stamp to stay static
    By OZover in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2010, 10:47 AM
  7. Replies: 2
    Last Post: 07-11-2006, 03:40 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