Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Can this Formula be Shortened Please

Hi Everyone,

Is there a Simplified Solution to this Formula Please :-

=COUNTIF(E32:J32,E31)+COUNTIF(E32:J32,F31)+COUNTIF (E32:J32,G31)+COUNTIF(
E32:J32,H31)+COUNTIF(E32:J32,I31)+COUNTIF(E32:J32, J31)

I have tried Several Alternatives but to NO avail.

Thanks in Advance
All the Best
Paul



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Can this Formula be Shortened Please

Some ways:
=SUMPRODUCT(--(E32:J32={E31,F31,G31,H31,I31,J31}))

or
=SUMPRODUCT(--(ISNUMBER(MATCH(E32:J32,E31:J31,0))))

--
Regards
Frank Kabel
Frankfurt, Germany

Paul wrote:
Hi Everyone,

Is there a Simplified Solution to this Formula Please :-

=COUNTIF(E32:J32,E31)+COUNTIF(E32:J32,F31)+COUNTIF (E32:J32,G31)+COUNTIF(
E32:J32,H31)+COUNTIF(E32:J32,I31)+COUNTIF(E32:J32, J31)

I have tried Several Alternatives but to NO avail.

Thanks in Advance
All the Best
Paul



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Can this Formula be Shortened Please

Thanks Frank,

I could NOT get the First One to Work, But the Second One Works Great.

Thanks Again.
All the Best
Paul


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Can this Formula be Shortened Please

Hi
first one depends on your regional settings. Try replacing the coma within
the curly brackets with
..
or
/

--
Regards
Frank Kabel
Frankfurt, Germany
"Paul" schrieb im Newsbeitrag
...
Thanks Frank,

I could NOT get the First One to Work, But the Second One Works Great.

Thanks Again.
All the Best
Paul


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Can this Formula be Shortened Please

Hi Frank,

Thanks for the Reply.
I Tried :-
..
,
..
;
:
/
But to No Avail.
Not to Worry though as I am Using the Second One which Works Great and
Accomodates my Needs.
Thanks for the Solution.

Have a Great New Year.
All the Best
Paul



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Hyperlinks Shortened/Modified by Excel Randaylb Excel Discussion (Misc queries) 1 February 18th 10 05:22 PM
Number of days in month counted from shortened name of month & yea Tumar Excel Worksheet Functions 6 September 18th 07 03:36 PM
Shortened formula Rob Excel Worksheet Functions 1 September 29th 06 09:03 PM
Category names become shortened Marjo Charts and Charting in Excel 0 March 30th 06 01:57 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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