Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dave
 
Posts: n/a
Default Identify date in 2 rows

Hi,

I am try to add up the number of entries in a column, only if there is
another entry on the same row in another specified column.
ie
A B
1 x i
2 t
3 r
4 t

The total for this would be 1.

Many Thanks in advance
  #2   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Hi,
Create a column C
C1=if(and(A1<"",B1<""),1,0)
C2=if(and(A2<"",B2<""),1,0)
Similarly C3,C4...
Sum(C1:C4..) give the required answer.
Thanks,
K.S.Warrier

"dave" wrote:

Hi,

I am try to add up the number of entries in a column, only if there is
another entry on the same row in another specified column.
ie
A B
1 x i
2 t
3 r
4 t

The total for this would be 1.

Many Thanks in advance

  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try
=SUMPRODUCT(--(A1:A10<""),--(B1:B10<""))

"dave" wrote:

Hi,

I am try to add up the number of entries in a column, only if there is
another entry on the same row in another specified column.
ie
A B
1 x i
2 t
3 r
4 t

The total for this would be 1.

Many Thanks in advance

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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM
Adding Rows to Master Sheet Excel Newbie New Users to Excel 1 December 23rd 04 10:56 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
Hiding rows based on date Steve Excel Worksheet Functions 2 November 1st 04 02:30 PM


All times are GMT +1. The time now is 05:12 PM.

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"