+ Reply to Thread
Results 1 to 2 of 2

Query formula issue

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    1

    Query formula issue

    Okay,

    I am a Soldier tasked to make a land navigation exam that produces over 160 exams. i have 35 pre designated locations loaded in a range on my spread sheet from that i have a choose randombetween formula. Once selected it separates latitude and longitude and finds distance between two locations and then lastly i have the pygrathom theory <---however thats spelled. Currently it does what i want but it doesn't keep searching until criteria is meet, so i end up hitting f9 alot of times (since it repeats the action for four different locations legged in sequence)

    The exam has to have the distance from one location to another no less 600 meters but no greater than 800 meters. There has to be 4 destinations from a range of possible of 35 destinations.

    So, basically I need a choose random formula that will stop working once a criteria in a cell is meet. so that i dont have to keep hitting f9. Any ideas? lol I copied various sheets and used equals formulas, which is slightly faster but still a pain.

    Any ideas would be helpful
    Last edited by clos8019992003; 12-23-2012 at 06:52 PM. Reason: Forum rules

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need your help

    Hello and welcome to the forum.

    Suggest you to change the thread title to reflect the query you are asking...
    Forum rules:-
    http://www.excelforum.com/forum-rule...rum-rules.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ 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