Hi all,
I have a worksheet where I track the prices of many items from different stores. It's a huge workbook, so I have a distinct tab for each store.
Each tab lists each item's SKU, description, many other things, and eventually the price. There is only a price if that store carries that item, so a lot of the cells in these columns are blank.
I'm trying to make something that returns the most common price for a particular item, excluding "0" and NULL as possible results.
Here's what I've already tried:
1) =MODE('FirstTab:LastTab'!A1) doesn't work.
2) I followed this advice: http://answers.microsoft.com/en-us/o...b-c4cc86351764
...Which seems to always returns $0.00. I never put "$0.00" in as a value for my product price, so I figure that the formula must be interpreting all null values as $0.
3) I created a formula with IF that says "If the mode is greater than zero, display the mode. Otherwise, say NONE." This is what I came up with: =IF(GetMode("FirstTab","LastTab",A1)>0,GetMode("FirstTab","LastTab",A1),"NONE")
This is only returning "NONE" - I realized it's because $0 (which is actually a null cell in each tab) will always be the most common value.
So, now I'm trying to either find the second most common value across worksheets, or else exclude "NULL" and "0" when calculating MODE.
Any ideas? Maybe a second most common formula to replace the "NONE" in 3)'s formula?
Thanks in advance for the help!
Bookmarks