ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   count values in range based on value in same row (https://www.excelbanter.com/excel-worksheet-functions/253973-count-values-range-based-value-same-row.html)

Mick Bonser - newbold

count values in range based on value in same row
 
To save time adding additional copies of the data to the individual spreadsheet is there a way of combining this formula ?

=IF($e3="Male",Q3,"") for example

I have used this 'Master Sheet'!E3="Male", but I realise that as the row changes this reference would not change. Does anyone know how I could amend / replace this formula to give the required result

=IF('Master Sheet'!E3="Male",COUNTIF('Master Sheet'!Y3:Y203,"=31"))

Bob Phillips[_4_]

count values in range based on value in same row
 
Add a defined name (InsertNameDefine...) or the current E3 cell and use
that in the formula

=IF(Mastefield",COUNTIF('Master Sheet'!Y3:Y203,"=31"))

HTH

Bob

"Mick Bonser - newbold"
wrote in message ...

To save time adding additional copies of the data to the individual
spreadsheet is there a way of combining this formula ?

=IF($e3="Male",Q3,"") for example

I have used this 'Master Sheet'!E3="Male", but I realise that as the
row changes this reference would not change. Does anyone know how I
could amend / replace this formula to give the required result

=IF('Master Sheet'!E3="Male",COUNTIF('Master Sheet'!Y3:Y203,"=31"))




--
Mick Bonser - newbold





All times are GMT +1. The time now is 04:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com