#1   Report Post  
Posted to microsoft.public.excel.misc
MWS
 
Posts: n/a
Default Looping Question

I would like to create a specific inventory "number" based on values the user
selects and one portion of the number would need to be the date the entry was
made - I planned to accomplish the dating portion this via the =NOW command.
Via =CONCATENATE, I have the desired, unique part number.

My issue is, by using the =Now command, each time I access the file, the
part name changes. So, before saving and closing the workbook, via looping
through the entries, I want to paste special the value of the computed name,
so it becomes a static name.

Assuming the computed name is in cell A1, and derived from user input in
cells B1 and C1, I would like to create a loop to basically say, "If there is
a value in B1 and C1, then copy the content of A1, and paste special the
value into cell A1. If the B1 and C1 and not valued, do nothing (ie keep the
concatenating formula). I would need this to loop through 500 rows of data.

Any and All Help Will Be Appreciated - Thanks In Advance!!!!




  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Looping Question

You may use the trick from this page about timestamps:
http://www.mcgimpsey.com/excel/timestamp.html
The one using circular references may be useful in your case, as it fixes
the value of now to the first time it is entered in the cell.

Hope this helps,
Miguel.

"MWS" wrote:

I would like to create a specific inventory "number" based on values the user
selects and one portion of the number would need to be the date the entry was
made - I planned to accomplish the dating portion this via the =NOW command.
Via =CONCATENATE, I have the desired, unique part number.

My issue is, by using the =Now command, each time I access the file, the
part name changes. So, before saving and closing the workbook, via looping
through the entries, I want to paste special the value of the computed name,
so it becomes a static name.

Assuming the computed name is in cell A1, and derived from user input in
cells B1 and C1, I would like to create a loop to basically say, "If there is
a value in B1 and C1, then copy the content of A1, and paste special the
value into cell A1. If the B1 and C1 and not valued, do nothing (ie keep the
concatenating formula). I would need this to loop through 500 rows of data.

Any and All Help Will Be Appreciated - Thanks In Advance!!!!




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
Is this the proper place to ask my question? amkazen Excel Discussion (Misc queries) 1 March 1st 06 05:20 PM
Pivot table question gary Excel Discussion (Misc queries) 1 January 10th 06 06:25 PM
Benefits many people - Question ebgehringer Excel Discussion (Misc queries) 0 October 7th 05 09:22 PM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
looping question luke New Users to Excel 4 June 3rd 05 01:19 PM


All times are GMT +1. The time now is 12:06 PM.

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

About Us

"It's about Microsoft Excel"