#1   Report Post  
 
Posts: n/a
Default Formula text count

I Have a list in a column that has a lot of tank numbers on a ship
listed as the following:

1-1-2-V
1-1-3-V
1-1-2-F
1-1-2-F
1-1-2-J
1-1-2-F

In another column, I have a list to identify whether the tank has been
opened noted with a date if it has and blank if it hasn't. I'm trying
to count the amount of V tanks that have been opened, J tanks that have
been opened and so on. I need an if, ifcount, or vlookup formula that
can do this. Any assistance would be greatly appreciated.

  #2   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default Formula text count

Hi,

Let's suppose that the tank numbers are in A2:A101 and dates (or blanks) are
in B2:B101. In some other cell, say D2, enter the following formula,

= SUMPRODUCT((RIGHT($A$2:$A$101,1)="V")*(ISNUMBER($B $2:$B$101)))

Change "V" to "J" etc for other tank labels.

You can simplify this by putting the tank labels in helper cells. For
example,
enter V in C2, J in C3, F in C4, etc., and enter the following formula in D2
(and drag the formula down D3, D4, .....

=SUMPRODUCT((RIGHT($A$2:$A$10,1)=C2)*(ISNUMBER($B$ 2:$B$10)))

Regards,
B. R. Ramachandran

" wrote:

I Have a list in a column that has a lot of tank numbers on a ship
listed as the following:

1-1-2-V
1-1-3-V
1-1-2-F
1-1-2-F
1-1-2-J
1-1-2-F

In another column, I have a list to identify whether the tank has been
opened noted with a date if it has and blank if it hasn't. I'm trying
to count the amount of V tanks that have been opened, J tanks that have
been opened and so on. I need an if, ifcount, or vlookup formula that
can do this. Any assistance would be greatly appreciated.


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
Count If formula Jo Davis Excel Discussion (Misc queries) 6 May 19th 05 01:59 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM


All times are GMT +1. The time now is 04:30 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"