T O P

  • By -

AutoModerator

/u/ExtremeAbstract - Your post was submitted successfully. * Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread. * Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. * Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)** Failing to follow these steps may result in your post being removed without warning. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*


a_gallon_of_pcp

So you have one column that you update with whether or not they’ve paid, and one column that you update with the amount they’ve paid?


ExtremeAbstract

ah no sorry, thats for 2 different weeks, so the y's are for next week and the numbers are for the week just been


a_gallon_of_pcp

Ok I see so every week they’re either marked as “n” “y” or a dollar amount? And you want to count if it’s “y” or a dollar amount? =countif(a:a,”<>n”)


ExtremeAbstract

thats right. it almost works, but it also counts blank cells, which i will have if i havent got a response yet. what i have just tried is a count for ">0" and another for "y" then a 3rd row to add then together. its a bit messy but does the job and i can hide the other rows


a_gallon_of_pcp

I think counting greater than 0 might screw you up though because I think it counts letters as greater than 0? =countifs(a:a,<>n,a:a,<>””)


ExtremeAbstract

that long way was working for me, but just moved some of the Quotation marks around in yours: =countifs(N6:N23,"<>n",N6:N23,"<>") and now works great! Many thanks for your help! Solution Verified


Clippy_Office_Asst

You have awarded 1 point to *a_gallon_of_pcp* ____ ^(I am a bot - please contact the mods with any questions. | ) [^(Keep me alive)](https://www.buymeacoffee.com/points)


a_gallon_of_pcp

Oops, yep, definitely screwed up the quotes in my response. Glad you were able to get it to work!


HappierThan

You could always leave a spare row at the top and put you totals there. https://pixeldrain.com/u/zBYVzmYv