Results 1 to 7 of 7

Formula for a range between two variables in one cell

Threaded View

  1. #1
    Registered User
    Join Date
    07-12-2017
    Location
    Malaysia
    MS-Off Ver
    15.13.3
    Posts
    3

    Question Formula for a range between two variables in one cell

    I am making a packing list for my company and we want to number the cartons on the excel sheet. We number the cartons as a range e.g 001 - 005 which means the product is packed in 5 cartons, numbers 1 to 5. The next product has 2 cartons so the range would be 006 - 007. I want a method that allows my staff to input the quantity of cartons for each product and excel automates the numbering. The staff would write "2" in the cells E$10-E16 (or another hidden column, that's fine) and excel would input 001 - 002. In the next product column, they'd write "5" and excel would input 003 - 007.

    The second part of my question is: we also write the CBM (cubic meter) of the carton on the sheet, I'd like the staff to input a value in H2 and that value be multiplied by the "CTN number" in the same row E2 and the result to be input in the same CBM cell the staff wrote in (cell H2). How would I go about doing this? I prefer to use as few columns as possible and as few hidden columns as possible in order to avoid confusion as we're printing on A4, but I would like to hear all ideas you guys have :D

    Thank you in advance for the help
    Attached Files Attached Files
    Last edited by WadeMK; 07-12-2017 at 01:53 PM. Reason: Fixed a typo with 006-007

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I assign the value of each cell from a range of cells to different variables?
    By JohnMichael in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2017, 09:15 PM
  2. [SOLVED] Using range and cell variables in the series function
    By rachmanchester in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-29-2014, 05:57 PM
  3. [SOLVED] Countif formula for multplei variables in the same range of cells
    By rowena229 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-04-2014, 01:48 PM
  4. [SOLVED] Concatenate Variables to Represent a Cell Range - Possible?
    By MelissaGregory in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 11:12 AM
  5. Replies: 5
    Last Post: 02-26-2009, 11:03 AM
  6. Replies: 4
    Last Post: 07-31-2008, 09:04 PM
  7. specifying variables in a formula range
    By sv_hcl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2005, 08:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1