#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula needed

I want create a formula that if the Min column (C3, F3, I3, and so on...) is
greater than 0, then A1 will combine the XX1, XX2, XX3 and so on... can
anyone help????

For clarification... then A1 will combine to show "XX1, XX2, XX3" and so
on... can
anyone help????


FAC, MIN and MAX are their own column

Columns: A B C D E
F G
Row 1 XX1 XX2
Row 2 FAC MIN MAX FAC MIN MAX
Row 3 1 1 1 1 1
1



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Formula needed

not positive what you want, but maybe
=if(c30,c$1,"")&if(e$30,", "&e1,"")&...

or if you mean
=if(min(C3:C100)0,C$1,"")&if(Min(E3:E100)0,", "&E$1,"")&...

"William@Target" wrote:

I want create a formula that if the Min column (C3, F3, I3, and so on...) is
greater than 0, then A1 will combine the XX1, XX2, XX3 and so on... can
anyone help????

For clarification... then A1 will combine to show "XX1, XX2, XX3" and so
on... can
anyone help????


FAC, MIN and MAX are their own column

Columns: A B C D E
F G
Row 1 XX1 XX2
Row 2 FAC MIN MAX FAC MIN MAX
Row 3 1 1 1 1 1
1



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Formula needed

Would a custom Finction do?

If so then try:

Function Cat(rRow As Long) As String
Application.Volatile
Dim R As Long
Dim EndData As Integer
Dim C As String

C = ""
R = rRow
EndData = Cells(R, 255).End(xlToLeft).Column

For x = 1 To EndData
If UCase(Cells(R, x).Value) = "MIN" Then
If Cells(R + 1, x).Value 0 Then
C = C & Cells(R - 1, x).Value & ", "
End If
End If
Next x
C = Left(C, Len(C) - 2)
Cat = C

End Function

I used rRow in case the real worksheet row is not the same as your example.
If the "MIN" labels really are in Row 2 then enter the function as:

=Cat(2)

If the labels are in a different row that use that row number.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"William@Target" wrote in message
...
I want create a formula that if the Min column (C3, F3, I3, and so on...)
is
greater than 0, then A1 will combine the XX1, XX2, XX3 and so on... can
anyone help????

For clarification... then A1 will combine to show "XX1, XX2, XX3" and so
on... can
anyone help????


FAC, MIN and MAX are their own column

Columns: A B C D E
F G
Row 1 XX1 XX2
Row 2 FAC MIN MAX FAC MIN MAX
Row 3 1 1 1 1 1
1





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
Formula still needed! Help! judgejulz Excel Discussion (Misc queries) 4 February 19th 07 03:51 PM
If Then Formula Help Needed Nakesha Excel Worksheet Functions 1 November 21st 06 10:34 PM
Formula Needed... Steven Sinclair Excel Worksheet Functions 15 December 16th 05 02:41 PM
Formula Help Needed BDY Excel Discussion (Misc queries) 3 October 26th 05 05:35 PM
Formula needed audi Excel Discussion (Misc queries) 4 August 3rd 05 12:09 PM


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