I need your help. I would appreciate any consideration.
Objective:
Note: SLD = sold, PEN = pending, both are values in the stat_b(status) column of my spreadsheet.
I'm trying to get a count on the sold items(val) that meet the date requirement(sold items in the last 6 months). You'll find the functions that I attempted to use below, labeled as v1 through v4.
The problem my be user error or it may be the platform that I am using (Gnumeric Spreadsheet 1.10.17; updated from Gnumeric Spreadsheet 1.4.3). Both version resulted in the same problem. Please help!!! Oh by-the-way, using Gnumeric is not by choice. My Macbook computer got stolen from me and now all I'm left with is an old Inspiron 2200. I made the mistake by becoming complacent and didn't backup anything on my macbook because it ran so well. I never gave it being stolen a thought. Oh, well. Any how if I had it my way I'd be using Excel. Thanks for listening.
v1: =if(stat_b="SLD"),(countif(c_date,">"&today()-180)),"false")
Result(R) = true /w miscount cnts all stat_b values that meets the countif condition. The result should be limited to the "SLD" val + countif cond only. cnt = 3; the correct count should be 1. There is only one "SLD" val that meets the date condition.
v2: =if(stat_b="PEN"),(countif(c_date,">"&today()-180)),"false") R = false (Should read true; PEN meets req.)
v3: =if(countif(stat_b,"="&"SLD"),(countif(c_date,">"&today()-180)),"false")
R = true /w miscount cnt = 3 (see ver1)
v4: =COUNT(IF((stat_b="SLD")*(c_date>=today()-180),"false"))
R = true /w miscount cnt = 0
Bookmarks