+ Reply to Thread
Results 1 to 13 of 13

Concatenate Formula

  1. #1
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Concatenate Formula

    Please assist with following:

    1) The AR 12901 tab needs to reflect the Deposit ID results from the control totals tab. I'm trying to eliminate manual input per cell since each deposit is based on a particular company.
    For example, 1 means HA, 7 means HAI, 3 means HHO, 5 means HIHC, and 340B means 340B.

    2) The GC 12017 & Other tab needs to reflect the Deposit ID results from the control totals tab.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    I don't understand what you are looking for. Can you walk me through an example for each of your sheets telling me exactly what should be showing up and in what cells?

    Thanks
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Re: Concatenate Formula

    Under the AR 12901 tab:

    Column A

    Cell A4 needs to say 1-092916 EFT, the 1 represents HA Gen

    Cell 6 needs to say 2-092716 EFT, the 2 represents HHCS Gen

    So forth...I need to be able to drag this formula down and not enter a 1-, 2-, or 3- through manual input.

    Under the GC 12017 & Other tab:

    Cell A2 needs to say 1-092916GC, the 1 represents HA Gen

    Cell 43 needs to say 2-092716GC, the 5 represents HIHC Gen

    I need to be able to drag this formula down and not enter a 1-, 2-, or 3- through manual input.

  4. #4
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    OK, I have the first part:

    Copy and paste this formula into cell A2 of Sheet AR12901 and copy down:

    =IF(E2="","",CONCATENATE(INDEX('Control totals'!$E$4:$E$39,MATCH(SUBSTITUTE('AR 12901'!B2," Gen",""),'Control totals'!$E$4:$E$39,0)+1)&"-"&TEXT(C2,"mmddyyyy")," EFT"))

    On Sheet GC 12017 I'm having a little difficulty. First Cell A2 appears to be HHO 340B, not HA Gen as you mention above. Can you clarify that? Also, the existing formula in Cell A2 refers to a sheet 'Bank Txns'!B1 which I don't have. So when I edit your formula, everything goes to 0 and I can't experiment with the formulas. Can you upload a revised spreadsheet with that sheet also?

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    I found the other sheets - they were just hidden. I'm running into a circular reference problem. A lot of the cells, sheets and formulas are more inter-related than an Arkansas family tree (I'm from Arkansas originally so I can say that). It's taking me a little bit to trace through this. I will try to have it figured out in the morning.

  6. #6
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Post Re: Concatenate Formula

    Any luck with the GC tab?

  7. #7
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Re: Concatenate Formula

    Hi loginjmor,

    Do we have any luck with the GC tab? I was thinking of maybe changing the formulas to link with the control tab, but there are so many variables. How can we simplify this formula?

  8. #8
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    Sorry, my day job took my attention Friday and this morning. I'm back on it now. I'm not sure how to simplify this as many of the formulas not only refer to other sheets, but there are numerous named ranges and named formulas that refer to specific files on your server such as this one defined at "Internal_Tsfr"

    =OR('AR nuances'!Return="RETURN",'S:\Finance\FAS Operations\Cash Receipts\Bank Scan Files\FY 16\11 May 2016\EFTs\05.09\[EFTs - 05.02.16 - 05.06.16 - Master.xlsx]Bank Txns'!$H2="Internal Wire",AND('AR nuances'!Orig="HEARTLAND",'AR nuances'!Bene="HEARTLAND"))

    So, this thing is so complex, and I don't completely understand what is the relationship between these various files. For example, perhaps the external file referenced above is updated by someone else, and the spreadsheet you posted gets updated when that file is opened. I just don't know. I hate to make wholesale changes without understanding how the whole thing works.

    That being said, what I can do is get Excel to concatenate the Deposit ID on the GC 12017 & Other spreadsheet, Column A, which is your original question. I should have it this afternoon.

  9. #9
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    OK - Copy this formula into Cell A2 on Sheet GC 12017 & Other:

    =IF(ISERROR('AR 12901'!O2),"",IF('AR 12901'!O2="GC",CONCATENATE(MATCH(VLOOKUP('Bank Txns'!F1,'Bank Account Lookup Table'!A:B,2,0),'Control totals'!$A$13:$A$18,0),"-",LEFT(TEXT('Bank Txns'!B1,"00000000"),2),MID(TEXT('Bank Txns'!B1,"00000000"),3,2),RIGHT(TEXT('Bank Txns'!B1,"00000000"),2)," GC"),""))

    Copy down. It should give you the results you described in your earlier post.

    Hope this helps!

  10. #10
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Re: Concatenate Formula

    On the GC tab:

    Can you relate the Deposit ID first numeric number to the appropriate company. First example, cell A5 should say 2-100316GC (delete space between GC)

    2- shd be HHCS Gen
    3- shd be HHO Gen
    5- shd be HIHC Gen
    1- shd be HA Gen
    Attached Files Attached Files

  11. #11
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    Hi -

    Copy and paste this into Cell A2 and copy down:

    =IF(ISERROR('AR 12901'!O2),"",IF('AR 12901'!O2="GC",CONCATENATE(MATCH(VLOOKUP('Bank Txns'!F1,'Bank Account Lookup Table'!A:B,2,0),{"HA Gen","HHCS Gen","HHO Gen","HHO 340B","HIHC Gen"},0),"-",LEFT(TEXT('Bank Txns'!B1,"00000000"),2),MID(TEXT('Bank Txns'!B1,"00000000"),3,2),RIGHT(TEXT('Bank Txns'!B1,"00000000"),2),"GC"),""))

    I simply hard coded the array {"HA Gen","HHCS Gen","HHO Gen","HHO 340B","HIHC Gen"} into the formula. Since you didn't have a choice 4, I improvised and used "HHO 340B". If you want a different item, simply replace that one. If you want them in a different order, just rearrange the list.

    Hope this helps.

  12. #12
    Registered User
    Join Date
    10-05-2016
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    26

    Re: Concatenate Formula

    Under the GC 12017 & Other tab:

    Cell A2, needs to read 340B092916GC.

    Could you please create a manual formula for this one, I know its out the box?

  13. #13
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Concatenate Formula

    OK - Try this:

    =IF(ISERROR('AR 12901'!O2),"",IF('AR 12901'!O2="GC",CONCATENATE(CHOOSE(MATCH(VLOOKUP('Bank Txns'!F1,'Bank Account Lookup Table'!A:B,2,0),{"HA Gen","HHCS Gen","HHO Gen","HHO 340B","HIHC Gen"},0),"1-","2-","3-","340B","5-"),LEFT(TEXT('Bank Txns'!B1,"00000000"),2),MID(TEXT('Bank Txns'!B1,"00000000"),3,2),RIGHT(TEXT('Bank Txns'!B1,"00000000"),2),"GC"),""))

+ 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. CONCATENATE Formula Help
    By csnyder10 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-25-2016, 05:26 PM
  2. Replies: 9
    Last Post: 11-19-2014, 04:15 PM
  3. Replies: 2
    Last Post: 08-24-2014, 04:56 AM
  4. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  5. Replies: 1
    Last Post: 05-20-2009, 08:15 AM
  6. Replies: 1
    Last Post: 05-20-2009, 07:56 AM
  7. Evaluating results of a concatenate formula, as a formula
    By dodger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-09-2005, 09:05 AM

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