Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Robin C
 
Posts: n/a
Default How to you count cells that contain any entry?

=IF(J9="x",1,IF(K9="x",1.5,IF(L9="x",2,IF(M9="x",2 .5,IF(N9="x",3,IF(O9="x",3.5,IF(P9="x",4,"")))))))

This works fine for me if my customers use an x, but some use a tick or a
star, or any computer letter/symbol.
Can this equation be made to work irrespective of what the entry in the cell
is?
  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Does

=LOOKUP(2,1/(1-ISBLANK(J9:P9)),{1,1.5,2,2.5,3,3.5,4})

fit the bill?

Robin C wrote:
=IF(J9="x",1,IF(K9="x",1.5,IF(L9="x",2,IF(M9="x",2 .5,IF(N9="x",3,IF(O9="x",3.5,IF(P9="x",4,"")))))))

This works fine for me if my customers use an x, but some use a tick or a
star, or any computer letter/symbol.
Can this equation be made to work irrespective of what the entry in the cell
is?

  #4   Report Post  
 
Posts: n/a
Default

Try this formula
=IF(I7<"",1,IF(J7<"",1.5,IF(K7<"",2,IF(L7<"",2 .5,IF
(M7<"",3,IF(N7<"",3.5,IF(O7<"",4,"")))))))
-----Original Message-----
=IF(J9="x",1,IF(K9="x",1.5,IF(L9="x",2,IF(M9="x", 2.5,IF

(N9="x",3,IF(O9="x",3.5,IF(P9="x",4,"")))))))

This works fine for me if my customers use an x, but

some use a tick or a
star, or any computer letter/symbol.
Can this equation be made to work irrespective of what

the entry in the cell
is?
.

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 non-colored cells Ken G Excel Discussion (Misc queries) 3 January 2nd 05 12:42 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM
Selected cells grow and data entry impossible EXT is dissabled Allanhart42 Excel Discussion (Misc queries) 1 November 26th 04 02:59 PM


All times are GMT +1. The time now is 04:10 PM.

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

About Us

"It's about Microsoft Excel"