#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Text Wrap

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Text Wrap

You can type
....="city(alt-enter)depot")*
and it'll work.

You could also make it a formula
....="city" & char(10) & "depot")*




Steved wrote:

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Text Wrap

Thankyou.

"Dave Peterson" wrote:

You can type
....="city(alt-enter)depot")*
and it'll work.

You could also make it a formula
....="city" & char(10) & "depot")*




Steved wrote:

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Text Wrap

Hello from Steved

{=SUMPRODUCT(($H$1:$H$1="City"&CHAR(10)&"Depot")*( $A$2:$A$27="M")*$H$2:$H$27)}

City
Depot

What Have I not done to accomplish the above to work in the above formula
please.



"Steved" wrote:

Thankyou.

"Dave Peterson" wrote:

You can type
....="city(alt-enter)depot")*
and it'll work.

You could also make it a formula
....="city" & char(10) & "depot")*




Steved wrote:

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Text Wrap

First, you don't need to array enter the formula.

Maybe...
=if($h$1<"City"&CHAR(10)&"Depot",0,SUMPRODUCT(($A $2:$A$27="M")*$H$2:$H$27))

or maybe...

=($h$1="City"&CHAR(10)&"Depot") * SUMPRODUCT(($A$2:$A$27="M")*$H$2:$H$27)





Steved wrote:

Hello from Steved

{=SUMPRODUCT(($H$1:$H$1="City"&CHAR(10)&"Depot")*( $A$2:$A$27="M")*$H$2:$H$27)}

City
Depot

What Have I not done to accomplish the above to work in the above formula
please.

"Steved" wrote:

Thankyou.

"Dave Peterson" wrote:

You can type
....="city(alt-enter)depot")*
and it'll work.

You could also make it a formula
....="city" & char(10) & "depot")*




Steved wrote:

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.

--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Text Wrap

Hello Dave from Steved

I'm very sorry all your formulas are ok, may be I should invest in reading
lesson.

Thanks for taking timeout.

"Dave Peterson" wrote:

First, you don't need to array enter the formula.

Maybe...
=if($h$1<"City"&CHAR(10)&"Depot",0,SUMPRODUCT(($A $2:$A$27="M")*$H$2:$H$27))

or maybe...

=($h$1="City"&CHAR(10)&"Depot") * SUMPRODUCT(($A$2:$A$27="M")*$H$2:$H$27)





Steved wrote:

Hello from Steved

{=SUMPRODUCT(($H$1:$H$1="City"&CHAR(10)&"Depot")*( $A$2:$A$27="M")*$H$2:$H$27)}

City
Depot

What Have I not done to accomplish the above to work in the above formula
please.

"Steved" wrote:

Thankyou.

"Dave Peterson" wrote:

You can type
....="city(alt-enter)depot")*
and it'll work.

You could also make it a formula
....="city" & char(10) & "depot")*




Steved wrote:

Hello from Steved

Is it possible to use a text wrap in a formula for example

=SUMPRODUCT(($H$1:$H$1="City Depot")*($A$28:$A$29="S")*$H$28:$H$29)

Can I do this or is their something I can add to the above formula for it to
reconize a Text Wrap
City
Depot
Thankyou.

--

Dave Peterson


--

Dave Peterson

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
How do I get date/time to wrap (format - wrap text doesn't work)? Alex Excel Discussion (Misc queries) 3 April 4th 23 02:29 PM
Wrap text doesn't wrap [email protected] Excel Worksheet Functions 1 March 28th 07 01:58 AM
Why won't text in cell wrap. Cell format set to wrap. DRB Excel Discussion (Misc queries) 2 September 28th 06 08:27 PM
Text not continuing to wrap for large block of text in Excel cell Mandra Charts and Charting in Excel 1 May 15th 06 07:13 PM
text (3750 char.)truncates with text wrap and row heigh adjusted? Boydster Excel Discussion (Misc queries) 1 May 19th 05 05:59 PM


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