+ Reply to Thread
Results 1 to 2 of 2

Concatenation based on certain parameters???

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Concatenation based on certain parameters???

    My apologies if this has been asked before. I did try and search for a resolution but I was unsuccessful in finding one for the exact problem I am experiencing.

    Some background:

    I'm currently using the solver add-in to optimize a daily fantasy baseball lineup based on a statistical analysis of batter vs. pitcher matchups and individual performance over the past 14 days. In order to do this, I need each position to be identified by a unique string of text (not sure if there is a better way to do it). The only position that this really matters is for the OF positions, since this is the only position that has multiple players in it at any given time. Basically what I'm trying to do is is this:

    Please Login or Register  to view this content.
    I was able to find a function that performed the above code block, but only performed the first two if functions (Checked for *1 and if true assigned *2, if not assigned *1). Below is what I edited the function to in an attempt to get it to resolve the way I would like, however it does not seem to be working. It is returning a value not available error.

    Please Login or Register  to view this content.
    I'd truly appreciate any assistance in getting this to function properly. I've attached the spreadsheet with which I am working below. The formula in question is being used in the M column of the Lineup Solver tab (it should be highlighted upon opening the file).

    MLB BvP and Last14 Analysis - copy fg names test backup ef.xlsm
    Last edited by phillyCHEEEEEZ; 04-14-2014 at 01:00 PM. Reason: solved

  2. #2
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Concatenation based on certain parameters???

    Problem solved. Just needed to use nested if() functions. Had tried that earlier but I must have typed the function incorrectly. Below is the working line of code.

    Please Login or Register  to view this content.

+ 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] Looking up a value based on two parameters
    By Theredwind in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-01-2014, 02:20 PM
  2. [SOLVED] Looking up based on two parameters?
    By TwiceBorn in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 12-11-2013, 02:14 AM
  3. [SOLVED] Conditional String Concatenation based on different cell being empty or not
    By MrGadget6977 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-16-2013, 01:14 PM
  4. Copying specific cell based on two parameters and then sorting based on one parameter
    By buntalan80 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 02:27 AM
  5. Concatenation based on range and using ALT+ENTER
    By salkovsg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2007, 07:03 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