Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 7th 07, 04:06 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2007
Posts: 84
Default Sorting Cells on letters and numbers and placing result in one of 3 columns

Hi all, maybe someone can work this out I have a sheet as below
I need a bit of sorting when user puts in how many in A1, code CBO in
A4, I want the numbers to go into the appropriate columns 10 goes into
A8.. 10 goes into A9 and so on.

I have a another sheet that has all the codes listed. How do I manage
to have those numbers appear in the appropriate cells???

A1 A4 A7 A8 A9

10 CBO 10

10 KD
10

5 CB
5

4 CBO 4

2
KD 2

3 IB 3


Thanks so much
Regards
Stephen


  #2   Report Post  
Old February 7th 07, 04:29 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2006
Posts: 3,718
Default Sorting Cells on letters and numbers and placing result in one of

=IF(AND(ISNUMBER(A1),A4="CBO"),A1,"")

copy all the way down as far as needed


"pano" wrote:

Hi all, maybe someone can work this out I have a sheet as below
I need a bit of sorting when user puts in how many in A1, code CBO in
A4, I want the numbers to go into the appropriate columns 10 goes into
A8.. 10 goes into A9 and so on.

I have a another sheet that has all the codes listed. How do I manage
to have those numbers appear in the appropriate cells???

A1 A4 A7 A8 A9

10 CBO 10

10 KD
10

5 CB
5

4 CBO 4

2
KD 2

3 IB 3


Thanks so much
Regards
Stephen


  #3   Report Post  
Old February 7th 07, 04:46 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2007
Posts: 84
Default Sorting Cells on letters and numbers and placing result in one of

On Feb 7, 2:29 pm, Teethless mama
wrote:
=IF(AND(ISNUMBER(A1),A4="CBO"),A1,"")

copy all the way down as far as needed



"pano" wrote:
Hi all, maybe someone can work this out I have a sheet as below
I need a bit of sorting when user puts in how many in A1, code CBO in
A4, I want the numbers to go into the appropriate columns 10 goes into
A8.. 10 goes into A9 and so on.


I have a another sheet that has all the codes listed. How do I manage
to have those numbers appear in the appropriate cells???


A1 A4 A7 A8 A9


10 CBO 10


10 KD
10


5 CB
5


4 CBO 4


2
KD 2


3 IB 3


Thanks so much
Regards
Stephen- Hide quoted text -


- Show quoted text -


I should have perservered another 10 minutes as I got it as follows

=COUNTIF(COUNT!I37:I59,J5)*F5
Goes to Count sheet has a look for Code in range compares it with J5
and if it matches takes number value in F5 and puts it in cell L5.

Easy was'nt it... like not !!!!! My head is spinning



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



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

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017