Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula for labels!

Hi All
I need to label a small warehouse .

I think Excel could generate labels describing location of various shelves
in such a row and such a bay, but I am not sure how

I need to label such as a prefix plus an aisle a bay a row and then a box
on a shelf . The numbers are not critical

What I was thinking of as an example is DX-Aisle-Bay01-Row1-BoxA

There are about 9 aisle,6 bay per aisle, 6 row per bay and 3 box per row so
it would be quite a job to do manually.

Anyone can help
Thanks
Michael


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default Formula for labels!

Hi Michael,

Suggested is as follows:
1) In cell A1 type "Labels"
2) In cell B1 type "Number of Aisles"
3) In cell C1 type "Bays per Aisle"
4) In cell D1 type "Rows per Bay"
5) In cell E1 type "Boxes per Row"
6) In cell A2 paste the following formula. Correct for wordwrap:-
=IF(INT((ROW() - 2)/($C$2*$D$2*$E$2)) $B$2-1, "",
CHAR(64+1+INT((ROW()-2)/($C$2*$D$2*$E$2))) & " Aisle - " & " Bay - " & 1+
MOD(INT((ROW() - 2)/($D$2*$E$2)), $C$2) & " Row - " & 1+ MOD(INT((ROW() -
2)/$E$2),$D$2) &" Box - " & CHAR(64+ 1+ MOD((ROW() - 2),$E$2)))

Note that the formula was 'quick and dirty'. Hope it's OK. I didn't know how
you wanted to label the aisles. This will label them A, B, C etc. and will do
the same for the boxes. The bays and rows will be numbered. You will likely
want to adjust the formula to suit. Seems to work for me.

Regards,
Greg

"Michael Clavien" wrote:

Hi All
I need to label a small warehouse .

I think Excel could generate labels describing location of various shelves
in such a row and such a bay, but I am not sure how

I need to label such as a prefix plus an aisle a bay a row and then a box
on a shelf . The numbers are not critical

What I was thinking of as an example is DX-Aisle-Bay01-Row1-BoxA

There are about 9 aisle,6 bay per aisle, 6 row per bay and 3 box per row so
it would be quite a job to do manually.

Anyone can help
Thanks
Michael



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default Formula for labels!

I forgot to mention to drag the formula down for the maximum possible number
of labels required.

Regards,
Greg

"Greg Wilson" wrote:

Hi Michael,

Suggested is as follows:
1) In cell A1 type "Labels"
2) In cell B1 type "Number of Aisles"
3) In cell C1 type "Bays per Aisle"
4) In cell D1 type "Rows per Bay"
5) In cell E1 type "Boxes per Row"
6) In cell A2 paste the following formula. Correct for wordwrap:-
=IF(INT((ROW() - 2)/($C$2*$D$2*$E$2)) $B$2-1, "",
CHAR(64+1+INT((ROW()-2)/($C$2*$D$2*$E$2))) & " Aisle - " & " Bay - " & 1+
MOD(INT((ROW() - 2)/($D$2*$E$2)), $C$2) & " Row - " & 1+ MOD(INT((ROW() -
2)/$E$2),$D$2) &" Box - " & CHAR(64+ 1+ MOD((ROW() - 2),$E$2)))

Note that the formula was 'quick and dirty'. Hope it's OK. I didn't know how
you wanted to label the aisles. This will label them A, B, C etc. and will do
the same for the boxes. The bays and rows will be numbered. You will likely
want to adjust the formula to suit. Seems to work for me.

Regards,
Greg

"Michael Clavien" wrote:

Hi All
I need to label a small warehouse .

I think Excel could generate labels describing location of various shelves
in such a row and such a bay, but I am not sure how

I need to label such as a prefix plus an aisle a bay a row and then a box
on a shelf . The numbers are not critical

What I was thinking of as an example is DX-Aisle-Bay01-Row1-BoxA

There are about 9 aisle,6 bay per aisle, 6 row per bay and 3 box per row so
it would be quite a job to do manually.

Anyone can help
Thanks
Michael



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default Formula for labels!

On follow-up read of my post I see I forgot to mention you need to enter the
desired number of Aisles, Bays, Rows and Boxes in cells B2 through E2. My
first attempt to post failed and on repost I thought I had mentioned it.
Sorry.

Regards,
Greg

"Greg Wilson" wrote:

Hi Michael,

Suggested is as follows:
1) In cell A1 type "Labels"
2) In cell B1 type "Number of Aisles"
3) In cell C1 type "Bays per Aisle"
4) In cell D1 type "Rows per Bay"
5) In cell E1 type "Boxes per Row"
6) In cell A2 paste the following formula. Correct for wordwrap:-
=IF(INT((ROW() - 2)/($C$2*$D$2*$E$2)) $B$2-1, "",
CHAR(64+1+INT((ROW()-2)/($C$2*$D$2*$E$2))) & " Aisle - " & " Bay - " & 1+
MOD(INT((ROW() - 2)/($D$2*$E$2)), $C$2) & " Row - " & 1+ MOD(INT((ROW() -
2)/$E$2),$D$2) &" Box - " & CHAR(64+ 1+ MOD((ROW() - 2),$E$2)))

Note that the formula was 'quick and dirty'. Hope it's OK. I didn't know how
you wanted to label the aisles. This will label them A, B, C etc. and will do
the same for the boxes. The bays and rows will be numbered. You will likely
want to adjust the formula to suit. Seems to work for me.

Regards,
Greg

"Michael Clavien" wrote:

Hi All
I need to label a small warehouse .

I think Excel could generate labels describing location of various shelves
in such a row and such a bay, but I am not sure how

I need to label such as a prefix plus an aisle a bay a row and then a box
on a shelf . The numbers are not critical

What I was thinking of as an example is DX-Aisle-Bay01-Row1-BoxA

There are about 9 aisle,6 bay per aisle, 6 row per bay and 3 box per row so
it would be quite a job to do manually.

Anyone can help
Thanks
Michael



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 can I see the column labels when the formula bar expands? Skiffie Excel Discussion (Misc queries) 4 February 1st 09 12:58 PM
Labels in formula a m spock Excel Worksheet Functions 7 January 5th 09 05:58 AM
Excel 2007 text labels in category axis - missing labels Boris Charts and Charting in Excel 3 December 5th 08 04:33 PM
how is Insert, Name, Label different frm Accept labels in formula ToniM Excel Discussion (Misc queries) 1 July 12th 06 03:49 PM
Excel 2003 and Labels (NOT Address Labels) Los Excel Discussion (Misc queries) 2 May 4th 05 01:57 PM


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