Coin Community Family of Web Sites
Shop for APMEX Bullion on eBay!Shop CCF Members on eBay! 300,000 items to help build your collection! Vancouvers #1 Coin and Paper Money Dealer Royal Canadian Mint products, Canadian, Polish, American, and world coins and banknotes. Coin, Banknote and Medal Collectors's Online Mall Specializing in Modern Numismatics








Username:
Password:
Save Password
Forgot your Password?


This page may contain links that result in small commissions to keep this free site up and running.

Welcome Guest! Registering and/or logging in will remove the anchor (bottom) ads. It's Free!

Mastermind Xiv Is Underway!

To participate in the forum you must log in or register.
Author Previous TopicReplies: 238 / Views: 8,105Next Topic
Page: of 16
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  7:10 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply

Quote:
HNL HRK HTG HUF IDR AOA AZN BAM BDT BGN


1/0!


I can't believe one in the right place hasn't happened randomly yet.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  9:49 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
Here's another way rikcando, using a horizontal lookup.

I'll use cell AA8 because that was the first cell I seen a true evaluation.

In cell AA8 =IF(ISNA(HLOOKUP(E8,$C$3:$L$3,1,FALSE)),0,1), this way you use an absolute reference to your "control/answer range", but a relative reference to your "guess range".

The formula says IF (my guess) IS NOT in row 3, then return false (which means the ISNA() statement is true), else return true (meaning the ISNA() statement is false).
Edited by Scooby Due
08/07/2010 9:51 pm
Pillar of the Community
xshift's Avatar
United States
2669 Posts
 Posted 08/07/2010  10:18 pm  Show Profile   Bookmark this reply Add xshift to your friends list Get a Link to this Reply
I tried using vlookup's for conditional formatting today to automatically change the yellow/red backgrounds and text colors based on whether something was (a) eliminated or (b) had been guessed yet. One master list that items get deleted from as they are eliminated controls those, then another sheet with the list of guesses populates a different section where the real tallies are done. Worked out pretty well.. saves time color-coding by hand and cuts down on the potential for human error.

Thanks for the ISNA mention - I should probably use that instead of ISERROR because if it comes back something like #REF that means the formula itself is wrong.
Valued Member
rikcando's Avatar
Canada
287 Posts
 Posted 08/07/2010  10:20 pm  Show Profile   Bookmark this reply Add rikcando to your friends list Get a Link to this Reply

Quote:
AA8 =IF(ISNA(HLOOKUP(E8,$C$3:$L$3,1,FALSE)),0,1)


Have you tried this? According to standard definition the table array must be two or more rows of data that is sorted in ascending order. You only have one row.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:22 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
I also use the conditional formatting, except with the hlookup checking the control row. They turn green if the currency is in the list, blue if they are in the right place, and stay black if they are not in the list at all.
Valued Member
rikcando's Avatar
Canada
287 Posts
 Posted 08/07/2010  10:23 pm  Show Profile   Bookmark this reply Add rikcando to your friends list Get a Link to this Reply
I can just picture weavus putting down his pencil and paper and having a real good laugh at us.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:23 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
Not if you are using a horizontal lookup. The rule you are referring to applies to vertical lookups.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:24 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
You can copy and paste that formula right into cell AA8 and it should work like a charm.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:28 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
Also, the FALSE part in this section of the formula "HLOOKUP(E8,$C$3:$L$3,1,FALSE)" tells it whether the data is sorted or not. If you used TRUE, the data MUST be sorted.
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:29 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply

Quote:
I can just picture weavus putting down his pencil and paper and having a real good laugh at us.


And then win it!
Pillar of the Community
United States
539 Posts
 Posted 08/07/2010  10:37 pm  Show Profile   Bookmark this reply Add weavus135 to your friends list Get a Link to this Reply
I'm not really laughing. I am smiling very, very big though. I'm amazed at your skills with excel. I don't know what you all do for a living but you certainly have a command of excel. And I am working on that last point. I just hope my pencil doesn't break during a gigantic calculation.

Valued Member
rikcando's Avatar
Canada
287 Posts
 Posted 08/07/2010  10:40 pm  Show Profile   Bookmark this reply Add rikcando to your friends list Get a Link to this Reply
So if true that it is false then return nothing, but if false is not true then we get a value. hmmm, interesting inside out way of looking at it.

This remonds me of The Parable of the Two Programmers. Google it if you have not read it before.

btw, I like the 'OR' method best so far but I'll be testing the HLOOKUP method for speed and flexibility.
Edited by rikcando
08/07/2010 10:41 pm
Pillar of the Community
Scooby Due's Avatar
United States
4000 Posts
 Posted 08/07/2010  10:44 pm  Show Profile   Bookmark this reply Add Scooby Due to your friends list Get a Link to this Reply
The ISNA() function tests whether the value is in the list or not. If it is not, then the statement is TRUE. The IF() statement is the part that flips it to return the values that we need for SUM(), etc...
Pillar of the Community
xshift's Avatar
United States
2669 Posts
 Posted 08/07/2010  10:45 pm  Show Profile   Bookmark this reply Add xshift to your friends list Get a Link to this Reply
Most formula creation is born after this thought: "Gee, this is such a pain in the rear, can I make it do it automatically..?!" ... And at least with pencil and paper you can erase.. with Excel, once you've saved the file you can't "undo" - so if you've gone and made a really boneheaded mistake (such as misreading a 1/0 as 0/0 and deleting 10 currencies from your master list, *cough*), you have to either start over or plug everything back in.

I just realized it's midnight there again soon - being on west coast time has some upside, after all
Valued Member
rikcando's Avatar
Canada
287 Posts
 Posted 08/07/2010  10:48 pm  Show Profile   Bookmark this reply Add rikcando to your friends list Get a Link to this Reply

Quote:
The ISNA() function tests whether the value is in the list or not.

Not quite but same answer. It tests to see if the HLOOKUP returns 'N/A', which it will do if the search value is not found.
  Previous TopicReplies: 238 / Views: 8,105Next Topic
Page: of 16

To participate in the forum you must log in or register.



    




Disclaimer: While a tremendous amount of effort goes into ensuring the accuracy of the information contained in this site, Coin Community assumes no liability for errors. Copyright 2005 - 2026 Coin Community Family- all rights reserved worldwide. Use of any images or content on this website without prior written permission of Coin Community or the original lender is strictly prohibited.
Contact Us  |  Advertise Here  |  Privacy Policy / Terms of Use

Coin Community Forum © 2005 - 2026 Coin Community Forums
It took 0.34 seconds to rattle this change. Forums