Jump to content

Recommended Posts

Posted

hi, not too sure if what I've been asked to do is possible but what's new there!

what formula would I use to find out if a row of cells have a "Y" in them, if they do, autosum them and divide by 7? If they don't have a "Y" they are to be ignored.

My excel is a little hit and miss I'm afraid.

thanks for any help

Posted (edited)

Will the cells needed to be counted just have a Y in them, or will they have other characters too?

 

If it's just Y in them it'll be as follows,

 

=COUNTIF(4:4, "y")/7

 

Changing 4 to whichever row you're counting them in

Edited by RichCowell
  • Thanks 1
Posted
hi, not too sure if what I've been asked to do is possible but what's new there!

what formula would I use to find out if a row of cells have a "Y" in them, if they do, autosum them and divide by 7? If they don't have a "Y" they are to be ignored.

My excel is a little hit and miss I'm afraid.

thanks for any help

 

If you're looking in a particular cell for the "Y" then the formula could be:-

 

if(cellref="Y",sum(range)/7,"")

 

Where cellref refers to the cell where you'd expect to see the "Y" and range is the row of cells that you want summed.

Posted

The spreadsheet is set up with a "individual progress" row, this shows the progress over the school life of the pupil collated from other sheets of the same book to give a total, (='Year 1'!C17+'Year 2'!C21+'Year 3'!C23+'Year 4'!C24+'Year 5'!C25+'Year 6'!C25-'Year 6'!C300) this is the formula they have used.

They then want to have any of the "individual progress" boxes that have a "Y" in the column to add together and /7, I think its so that when they make changes (like adding a Y) the individual progress updates and the overal progress of the year group changes.

sorry if this is confusing, its done my head in just typing it.

Posted

Thank you for all your suggestions and offers of help. I finally figured it out (I think!)

=SUMIF(C5:AD5,"Y",C40:AD40)/7

cheers :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...