+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : How to deduce a cell in a range given by a lookup? (Snychronize sale and inventory)

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2007
    Posts
    1

    How to deduce a cell in a range given by a lookup? (Snychronize sale and inventory)

    Sorry about the confusing topic name, I'm trying to make a book Inventory that is synchronized with new sales I add.

    I was able retrieve the number of available books using LOOKUP function entering the book's name, a range named 'Products', and a range named 'Inventory'.

    It looks like this: =LOOKUP(A2,'BOOKSTORE.xlsx'!Products,'BOOKSTORE.xlsx'!Inventory); A2 is the book's name.

    My problem is that I can't figure out how to make that number that is given to me by LOOKUP be deduced in the 'inventory' range by the quantity of books sold without manually doing it each time.

    Does anyone have any idea how I could do that?

    Thanks in advance!

    Here is a very simple version of what I'm working on BOOKSTORE.xlsx

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to deduce a cell in a range given by a lookup? (Snychronize sale and inventory)

    hi aspmotta, not sure if i got what you want. you want to make the range dynamic? changing everytime you add a new book?
    in you name manager for Inventory, use this formula:
    =OFFSET($B$1,1,0,COUNT($B:$B))

    for Products, use this:
    =OFFSET($A$1,1,0,COUNT($B:$B))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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