+ Reply to Thread
Results 1 to 17 of 17

Set different prices with checkbox

  1. #1
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Set different prices with checkbox

    Is there a way to set different prices for different people using same list? The example
    explain's better,maybe this can't be done.Any ideas on how to do this would be appreciated.


    Thanks Z
    Attached Files Attached Files
    Last edited by zplugger; 05-04-2015 at 06:09 AM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    if you only want one option available you should use option button not a check box

    since you were using both forms and activex i have rejigged your file to be forms only

    if your going to use forms you dont need xlsm
    if your going to use Activex then xlsm is required and more coding also required

    let me know if you want to go the other way with ActiveX
    this can be done..but more coding would be required

    also while i was there i redid your DV so you dont have that long list of empty spaces
    i put the formula for the named range on products sheet as well
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Very nice work humdingaling,my main book is all active X buttons so if possible can we change the example to Active X when
    you get time. Trying to understand where the formula's are for the lookup,still learning excel and like to know how different
    things work.I like the option button idea better then checkboxes,I should be able to set a certain button on workbook open for daily use. Again
    Thank you for your time on this,the forum has so many good people for helping others.

    Z

  4. #4
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Trying to understand this code, I think its a array,what do I do if I add another name and prices ?

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    not sure which formula
    if its this one
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    the first {} is for the number that option button generates
    the second {} is the corresponding name
    as long as you have the same amount in first and second it should work

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


    its a index/match combination
    http://www.randomwok.com/excel/how-to-use-index-match/
    this is how i learnt how to use index-match

    now after all that....if activeX solution i wouldn't use the lookup formula
    ill revert later with the activex version

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    solution using ActiveX instead

    i put in a cmd button to trigger...because well i couldn't think of a way to trigger it without putting code into every single option button

    i updated the index match formula to be 2 way match
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Thanks
    Still want to learn this process too, add another name but can't get it to work. Must not be adding the array right?. Here is the got I added for riley?
    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    that formula works when i plug that formula into I14

  9. #9
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    He is what I have, just not working,maybe you can see what I did wrong. Thanks
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    the index array needs to be made bigger to encompass the newly added columns

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


    Products A1:G125 should be enough for your 6 options
    increase the column to increase more options

    someone wrote one something about 2d index/match not too long ago on this forum
    http://www.excelforum.com/tips-and-t...al-lookup.html

    have a look check it out

  11. #11
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    I'm little slow but after couple minutes I got it. Thank you so much for the examples,will study to learn them better. Have great night,Thanks

  12. #12
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    sure thing not a problem

    Cheers
    Hum

  13. #13
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Ran into a Big problem adapting humdingaling code to my workbook. All his code works perfect for what I asked,forgot in my workbook I have a price override cell.
    Here is my two codes,if needed I can post updated workbook.Can I get new code to have the override in L19?

    This was my old code
    Please Login or Register  to view this content.
    This is humdingaling new lookup
    Please Login or Register  to view this content.
    Thanks for any suggestions
    Last edited by zplugger; 05-01-2015 at 08:08 PM.

  14. #14
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Not sure if best way but it works.

    Please Login or Register  to view this content.

  15. #15
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    thats probably how i would do it as well
    if it works in that form then i would just take it

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

  16. #16
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Set different prices with checkbox

    Thanks humdingaling
    Just can't find way to have workbook open to a default optionbutton.Can set workbook open to set optionbutton1 to true but
    that does not run update code.
    Z

  17. #17
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Set different prices with checkbox

    hmmm you are asking for two things at are actually linked

    how are your option buttons updating at the moment?
    are you using a command button?

+ 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. Protect the sheet but the form checkbox still can be change and sort by checkbox
    By carolyn1221 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2014, 01:08 PM
  2. Replies: 7
    Last Post: 01-28-2014, 05:25 PM
  3. [SOLVED] Extracting latest prices from a price book with past and present prices
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-10-2012, 04:08 AM
  4. Use a multiplier to change List Prices to Net prices
    By Dangada in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 12:05 PM
  5. Cyclic prices into trend prices
    By atult in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-27-2005, 01:19 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