Notices
Non Scooby Related Anything Non-Scooby related

Any spreasheet experts around this afternoon

Thread Tools
 
Search this Thread
 
Old 29 May 2007, 03:33 PM
  #1  
auto scooby
Scooby Regular
Thread Starter
 
auto scooby's Avatar
 
Join Date: Apr 2002
Posts: 1,760
Likes: 0
Received 0 Likes on 0 Posts
Default Any spreasheet experts around this afternoon

I am looking to perform a calculation that concatenates certain cells (text) based on conditions

Column A Column B Column C Result

Name 1 Text Text Nothing
Name 1 Text Text Nothing
Name 1 Text Text Col a1+b1+c1+b2+c2+b3+c3
Name 2 Nothing
Name 2 Col a4+b4+c4+b5+c5
Name 3 Etc.............
Name 3 Etc.............
Name 3

Any ideas
Old 29 May 2007, 03:53 PM
  #2  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

=if([Condition], [Condition is true value], [condition is false value])

eg;
= I F (A3 = 1,B3 & " " & C3,"False Condition Text")

if you want to do an OR name = "mike" or name = "fred", then...
= I F (OR(A2 = "Mike", A2 = "Fred"),B2 & " " & C2)

similar for AND too.

does that make sense?

Last edited by ChefDude; 29 May 2007 at 03:56 PM.
Old 29 May 2007, 03:56 PM
  #3  
DCI Gene Hunt
Scooby Senior
 
DCI Gene Hunt's Avatar
 
Join Date: Jun 2006
Location: RIP - Tam the bam & Andy the Jock
Posts: 14,333
Likes: 0
Received 0 Likes on 0 Posts
Default

DCI = IF "this 290)( makes >//3 sense to you **&66y you're @<< a nerd
Old 29 May 2007, 03:56 PM
  #4  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

fvckin scoobybastidnet parser Grrr

go look it up.
Old 29 May 2007, 04:39 PM
  #5  
auto scooby
Scooby Regular
Thread Starter
 
auto scooby's Avatar
 
Join Date: Apr 2002
Posts: 1,760
Likes: 0
Received 0 Likes on 0 Posts
Default

Understand that

Column A will be a list of names, some names will appear 1,2,3,4 times.

If name appears once on one row then concat b2,c2
If name appears twice, on two rows then concat b2,c2.b3,c3
if name appears three times on three rows then concat b2,c2,b3,c3,b4,b4

Your forumulae does not take into account the testing for when a name changes in column a and then concatenating based on that.

I am still stuck and have cheated using Ultraedit. Which is not really any good as it takes to long.

Any more ideas
Old 29 May 2007, 05:33 PM
  #6  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

judicious use of countif may well help then
Old 29 May 2007, 05:34 PM
  #7  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

actually, scratch that. you need to write some vba

i'm a bit busy for coding.

Trending Topics

Old 29 May 2007, 06:40 PM
  #8  
auto scooby
Scooby Regular
Thread Starter
 
auto scooby's Avatar
 
Join Date: Apr 2002
Posts: 1,760
Likes: 0
Received 0 Likes on 0 Posts
Default

Bizarre, I came to exactly the same conclusion.

Tried to use CountIf and then decided that I could not easily make use of the result.

Am know searching for simple import scripts to use Access !!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM
Cdm172
Was it you?
0
28 September 2015 05:41 PM
roysc
ScoobyNet General
2
16 September 2015 09:10 AM
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM
ossett2k2
ScoobyNet General
10
09 September 2015 01:15 PM



Quick Reply: Any spreasheet experts around this afternoon



All times are GMT +1. The time now is 02:08 PM.