+ Reply to Thread
Results 1 to 8 of 8

Help with a formula for a key system.

  1. #1
    Registered User
    Join Date
    04-24-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    3

    Help with a formula for a key system.

    Hi All,

    I am creating a key management system for our properties.

    On the first tab 'Key Sets': I list all our properties with the number of sets, I give the key number as a reference to that property and if that property is sold I can always replace it with another address with that key number. The column of Set Left is where I am struggling to put the right formula...

    Set left: how this should work is that it looks up from the second tab called 'Key tracker', it should looks at the whole table with data (when entered), and if the key number from the table column 'Key Set tab' matches the table column Key Number on 'Key Tracker tab' this should minus from set left (Key Tracker->No of set taken: e.g if you take 2 sets - its should minus 2 from Set left), and then if you returned it should add it back on to Set Left (Key Tracker ->No of Set Return). I am still a novice using formulas on excel so pardon me if this is a simple formula.

    I hope this makes sense.

    I hope that I have attached the file correctly.

    Please feel free to ask any question, I really appreciate your assistance.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Help with a formula for a key system.

    One way

    Please Login or Register  to view this content.
    Last edited by mike7952; 04-24-2017 at 01:56 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Contributor
    Join Date
    03-14-2013
    Location
    England
    MS-Off Ver
    2007
    Posts
    186

    Re: Help with a formula for a key system.

    EDIT: Ignore this, look at my next post down

    In cell D10 and copy down.....

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is what you mean right?
    Last edited by D.Lovell; 04-24-2017 at 02:11 PM.

  4. #4
    Forum Contributor
    Join Date
    03-14-2013
    Location
    England
    MS-Off Ver
    2007
    Posts
    186

    Re: Help with a formula for a key system.

    Apologies this is what you want actually....

    In D10 and copied down.....

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by D.Lovell; 04-24-2017 at 02:22 PM.

  5. #5
    Registered User
    Join Date
    04-24-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    3

    Re: Help with a formula for a key system.

    Thank you Mike and D.Lovell. I have used D.Lovell formula this work and its fantastic.

    On another note. I am using =VLOOKUP(E4,'Key Sets'!$A$10:B18,2,FALSE), so on tab 'Key Tracker' when I enter the key number on the 'Key No' row the address automatically appears. Now lets say the property in Key No 1 has been sold and I replace this with another address this will also change the historic address, how can I amend the formula so that I can keep old address.

    Thank you

  6. #6
    Forum Contributor
    Join Date
    03-14-2013
    Location
    England
    MS-Off Ver
    2007
    Posts
    186

    Re: Help with a formula for a key system.

    You are welcome

    To retain the previous address you must actually store it somewhere.

    You only have it entered into the column on the key sets tab and the other tab is looking it up from that, so if you change that, it is gone.

    Therefore a modification to the design would be required to achieve this.

  7. #7
    Registered User
    Join Date
    04-24-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    3
    Thank you again. I have an idea of what I can do.

    I was wondering, I am a novice using excel formulas as I don't know what all the formulas and what it allows you to do? How can I learn more and start improving on my knowledge?

  8. #8
    Forum Contributor
    Join Date
    03-14-2013
    Location
    England
    MS-Off Ver
    2007
    Posts
    186

    Re: Help with a formula for a key system.

    There is tons of learning material out there, I believe this maybe a good place to look for links: https://www.excelforum.com/excel-new...additions.html

    Your design may benefit from a 3rd sheet with key number down column A, and then the column headers from B onwards as Address 1, Address 2, Address 3 etc...

    It would be possible to keep the key tabs sheet looking the same by looking up the most recent address from the other sheet, and then work out a way to retain the previous address on your main data input sheet.

    If you need help with further formulas, please feel free to ask again when the design layout has been altered to allow for this.

    My suggestion is only one such example of how you could go about it, hopefully if you understand the logic of what I am saying, you can lay it out the way you want it, with this taken into account.

    Regards,

+ 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: 3
    Last Post: 10-09-2016, 11:19 PM
  2. [SOLVED] IF formula for BONUS system
    By pavlos1975 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-24-2013, 11:46 PM
  3. [SOLVED] ChangeFormat of column from English decimal system with a dot to French System with a ,
    By rajiv1988 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2013, 04:31 AM
  4. [SOLVED] Automated machine order pricing system system
    By Sherburn Systems in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2012, 10:14 AM
  5. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-16-2011, 08:02 PM
  6. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2011, 03:16 AM
  7. excel causing system to be in low system resource
    By inenewbl in forum Excel General
    Replies: 0
    Last Post: 04-05-2005, 12:06 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