+ Reply to Thread
Results 1 to 4 of 4

How to combine 2 different formulas into one cell

Hybrid View

  1. #1
    Registered User
    Join Date
    09-06-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2

    How to combine 2 different formulas into one cell

    Hey Everyone,
    I was hoping that i could get your help with something.
    I'm trying to create a sheet that will automatically calculate the total # of items on that list as well as then randomly assign them to another list.

    I've gotten as far as doing either one separately but i would like to have the formula do one then the other in the same cell so that way not only do i have a random assignment but an equal # as well divided equally amongst the other list.
    These are the formulas is this possible?

    =INDEX($A:$A,RANDBETWEEN(1,COUNTA($A:$A)),1)
    =INDEX($A$1:$A$65536, INT( (ROWS(D$3:D4) -2) * nPeople / nProducts) + 1)
    Attached Files Attached Files
    Last edited by coolio123; 09-06-2017 at 12:57 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to combine 2 different formulas into one cell

    Attach a sample workbook (not a picture!). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-06-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2
    Quote Originally Posted by sandy666 View Post
    Attach a sample workbook (not a picture!). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Thank you.
    I've edited the post to reflect what you have asked for. Please let me know if you have any other questions.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to combine 2 different formulas into one cell

    I see nothing common between BEFORE and AFTER

    btw. don't quote full posts if it is not neccessary

    Name 1 17-001, 17-006, 17-010, 20-060, 21-016

    I understand why Name 1 17-001
    but don't iunderstand why Name 1 17-001, 17-006

    you can try
    Formula: copy to clipboard
    =INDEX($C$2:$C$98,RANDBETWEEN(1,COUNTA($A:$A)),1)&", "&INDEX($C$2:$C$98,RANDBETWEEN(1,COUNTA($A:$A)),1)&", "&INDEX($C$2:$C$98,RANDBETWEEN(1,COUNTA($A:$A)),1)&", "&INDEX($C$2:$C$98,RANDBETWEEN(1,COUNTA($A:$A)),1)
    but I'm not sure this is what you want
    RANDBETWEEN() repeat values
    Last edited by sandy666; 09-13-2017 at 03:15 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] trying to combine two formulas in one cell
    By fach in forum Excel General
    Replies: 3
    Last Post: 03-09-2017, 12:11 PM
  2. combine 2 formulas in 1 cell
    By the4hornes in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2017, 04:21 PM
  3. How to combine two IF formulas into one cell.
    By shaebert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-27-2015, 01:54 AM
  4. Combine 2 formulas in one cell
    By A_K in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-12-2013, 11:24 AM
  5. Excel 2007 : How to combine IF formulas into one cell
    By Rahul Orezzoli in forum Excel General
    Replies: 3
    Last Post: 11-14-2011, 01:43 PM
  6. Excel 2007 : How to combine two IF formulas in one cell
    By WillisJones in forum Excel General
    Replies: 2
    Last Post: 11-03-2011, 09:43 AM
  7. Combine two formulas in one cell
    By T.R. in forum Excel General
    Replies: 1
    Last Post: 03-09-2005, 08:06 PM

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