+ Reply to Thread
Results 1 to 5 of 5

#value, error. Making small Database in Excel need help

  1. #1
    Registered User
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    #value, error. Making small Database in Excel need help

    Im working on a small database that just pulls two attributes. membership and referrals. I got that working but there is also price too.

    membership referrals price
    standard 0 0.28
    standard 250 0.29
    standard 500 0.3
    standard 700 0.31
    standard 1000 0.31
    golden 0 0.26
    golden 200 0.27
    golden 500 0.28
    golden 700 0.29
    golden 1000 0.3

    this is part of the database, now i have it so they can enter there membership and then they need to put in how many referrals they have.
    ex. i put in standard 250 the price will show .29
    but if i put standard 247 it will not work and show value.

    How do i make the database in ranges like 0-249 then 250-499... 500-699
    so if i do enter in 247 it will show 0.28


    **edit
    may have posted this in the wrong section... im new =P
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770

    Re: #value, error. Making small Database in Excel need help

    I don't think you can do it with DGET, but if you put the following formula into G3 of your uploaded example it should do what you require:

    Please Login or Register  to view this content.
    If you find the response helpful please click the scales in the blue bar above and rate it
    If you don't like the response, don't bother with the scales, they are not for you

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: #value, error. Making small Database in Excel need help

    Try this,

    G3
    Please Login or Register  to view this content.
    committed with Ctrl+Shift+Enter.

    You can also see attached.
    Hope this helps,
    windknife
    Attached Files Attached Files

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: #value, error. Making small Database in Excel need help

    In G3:
    =IF(OR(E3="",F3=""),"",LOOKUP(2,1/(($A$3:$A$12=E3)*($B$3:$B$12<=F3)),$C$3:$C$12))
    entered normally.
    Remember what the dormouse said
    Feed your head

  5. #5
    Registered User
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: #value, error. Making small Database in Excel need help

    WOW u all are amazing all these methods. Thanks a million =D

+ 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