bluepenink
Well-known Member
- Joined
- Dec 21, 2010
- Messages
- 585
Hello
having some trouble with the large function.
basically i have a selection from a drop down list which shows a list of cities in a state. some state have 8 cities, while some have 5 etc.
my large formula is:
=(LARGE($D$64:$D$73,F64)
where range D = city
where range f = number 1-8
now, when i change a state that has 5 cities, i get a #N/A error so i tried to incorporate a counta to offset any blank space, but still getting N/A error
can someone help with my logistic here, thxs so much
=IF(D64="","",(LARGE($D$64:$D$73,F64)-COUNTA($D$64:$D$73)))
basically, im saying, if D64 is blank then do nothing or N/A, otherwise use tthe large function.....
what am i doing wrong?
cheers
having some trouble with the large function.
basically i have a selection from a drop down list which shows a list of cities in a state. some state have 8 cities, while some have 5 etc.
my large formula is:
=(LARGE($D$64:$D$73,F64)
where range D = city
where range f = number 1-8
now, when i change a state that has 5 cities, i get a #N/A error so i tried to incorporate a counta to offset any blank space, but still getting N/A error
can someone help with my logistic here, thxs so much
=IF(D64="","",(LARGE($D$64:$D$73,F64)-COUNTA($D$64:$D$73)))
basically, im saying, if D64 is blank then do nothing or N/A, otherwise use tthe large function.....
what am i doing wrong?
cheers