Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

Combining Text on statement

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LOU - 21 Nov 2005 16:05 GMT
Hello,
I have a spreadsheet set as such,

Columns
A = Date
B = Employee (B2 THRU B116 , Column to house formula)
Columns C1 thru z1 have employee names
in C1 thru Z1 I have a 1 indicatiing they are assigned this day.

I would like the formula to review C1:Z1 and if there is a 1 in a column
bring back the employees name to that row in column B and combine them
together.

I hope this is clear, I need to stay away from a pivot table though, any
help would be great.

Thank you,
Lou
Bob Phillips - 21 Nov 2005 16:17 GMT
Your example is a bit confusing.

Is this what you want

=COUNTIF(C2:Z2,1)

for the employee in B2

Signature

HTH

RP
(remove nothere from the email address if mailing direct)

> Hello,
> I have a spreadsheet set as such,
[quoted text clipped - 14 lines]
> Thank you,
> Lou
LOU - 21 Nov 2005 16:47 GMT
Bob,
Thank you, sorry for the confusion. I want it to bring back the persons name
from row 1,
Example..

A= Date           B1= Employees        C1= Bill    D1=Jen   E1=Lou
1/1/06              Bill, Jen                        1            1
2/1/06              Bill, Lou                        1                      
 1
3/1/0                Jen, Lou                                     1          
1

Thank you.
Lou

> Your example is a bit confusing.
>
[quoted text clipped - 22 lines]
> > Thank you,
> > Lou
Bob Phillips - 21 Nov 2005 17:04 GMT
I still don't think I get it.

What part of that are you trying to calculate, and what is being input?

Another guess.

C2: =IF(ISNUMBER(FIND(B$1,$B2)),1,"")

and copy down and acrooss

Signature

HTH

RP
(remove nothere from the email address if mailing direct)

> Bob,
> Thank you, sorry for the confusion. I want it to bring back the persons name
[quoted text clipped - 37 lines]
> > > Thank you,
> > > Lou
LOU - 21 Nov 2005 19:42 GMT
Heya Bill thank you for your time and patience.

I want to bring the person Name from the HEADER row in the column which has
the employees.
                                  Column A     Column B       Column C    
Column D  Column E
ROW 1 - HEADER ROW     Date           Employees        Bill             Jen  
        Lou
ROW 2                          1/1/06          Bill, Jen            1        
      1
ROW 3                          2/1/06          Bill, Lou            1        
                       1
ROW 4                          3/1/06          Jen, Lou                      
     1               1

Column B will hold the formula which will bring back the results. If there
is a 1 in any cell from C2:E2 it will bring the names back from the header
row. Example above would be something like this in B2    
If(c2=1,$c$1,if(d2=1,$d$1))    

I hope this makes sense.
Thank you,
Lou

> I still don't think I get it.
>
[quoted text clipped - 50 lines]
> > > > Thank you,
> > > > Lou
Bob Phillips - 21 Nov 2005 20:04 GMT
I would use a UDF

Function Get(rng As Range)
Dim cell As Range
   For Each cell In rng
       If cell.Value = 1 Then
           GetNames = GetNames & Cells(1, cell.Column) & ","
       End If
   Next cell
   If GetNames <> "" Then
       GetNames = Left(GetNames, Len(GetNames) - 1)
   End If
End Function

And use in B2 like this

=GetNames(C2:E2)

Signature

HTH

RP
(remove nothere from the email address if mailing direct)

> Heya Bill thank you for your time and patience.
>
[quoted text clipped - 74 lines]
> > > > > Thank you,
> > > > > Lou
LOU - 21 Nov 2005 19:43 GMT
sorry, I am just inputting the "1"s under the names down there corresponding
column.......

Lou

> I still don't think I get it.
>
[quoted text clipped - 50 lines]
> > > > Thank you,
> > > > Lou
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.