#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Counting formula

I have 3 cells in a row and i would like the third cell to display a count of
the first 2 cells. Ie if A1 has data in it and A2 is blank i would like A3 to
display 1. And if both A1 and A2 have data in them for it to display 2.

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Counting formula

hi,
in c2 put.....
=counta(A2,B2)
copy down.
Regards
FSt1

"Neil" wrote:

I have 3 cells in a row and i would like the third cell to display a count of
the first 2 cells. Ie if A1 has data in it and A2 is blank i would like A3 to
display 1. And if both A1 and A2 have data in them for it to display 2.

Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Counting formula

=COUNTA(A1:A2)
--
Gary''s Student - gsnu200729
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Counting formula

sorry.
you said "in a row" so i wrote the fomula for that. but i just noticed that
your cells references are in a column(A). if so...
in A3 put...
=counta(A1,A2)
copy across????

Regards
FSt1

"FSt1" wrote:

hi,
in c2 put.....
=counta(A2,B2)
copy down.
Regards
FSt1

"Neil" wrote:

I have 3 cells in a row and i would like the third cell to display a count of
the first 2 cells. Ie if A1 has data in it and A2 is blank i would like A3 to
display 1. And if both A1 and A2 have data in them for it to display 2.

Many thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTING FORMULA TMF in MN Excel Worksheet Functions 1 February 26th 07 10:32 PM
Counting formula TMF in MN Excel Worksheet Functions 2 January 8th 07 06:50 PM
formula for counting TMF in MN Excel Worksheet Functions 7 October 31st 06 11:48 PM
formula on counting Michael A Excel Discussion (Misc queries) 2 January 6th 06 03:52 PM
Help with counting formula Ian Excel Discussion (Misc queries) 1 January 7th 05 10:25 AM


All times are GMT +1. The time now is 03:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"