+ Reply to Thread
Results 1 to 14 of 14

Slightly complex Concatenate with IFS - help appreciated!!

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Slightly complex Concatenate with IFS - help appreciated!!

    Hi there,

    I'm trying to develop a spreadsheet for a small bakery I've started up. I've attached what I've done so far.
    What I'm struggling with with is the DELIVERY bit (A23).

    I want to be able to produce a Delivery Sheet so that I know the name of customer and type of bread ordered (see my concatenate in A25 as example) which I need to deliver to each delivery hub (listed as A-F in the top left of the spreadsheet).

    Is there any way of doing this?

    Many thanks,

    Ian
    Attached Files Attached Files
    Last edited by twigdip; 08-08-2013 at 08:28 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    i'd add a helper column see n11:n20 then use that to distinguish between the drop offs then use index/match to retrieve the data and join that together see attached
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Hi Ian

    Try in A25 and copy down and across, this ARRAY formula.

    =IFERROR(INDEX($A$11:$A$20&" "&"("&$J$11:$J$20&")",SMALL(IF($E$11:$E$20=A$24,ROW($A$11:$A$20)-10),ROW(A1))),"")

    In your profile you say that you use Excel2007. If not try to include the following formula to IF(iserror...

    =INDEX($A$11:$A$20&" "&"("&$J$11:$J$20&")",SMALL(IF($E$11:$E$20=A$24,ROW($A$11:$A$20)-10),ROW(A1)))

    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    I've put this formula in N11:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and copied down. This sets up a unique sequential reference for each order and delivery hub, like A_1, A_2, B_1 etc.

    Then I put this formula in A25:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this is copied across and down to retrieve each name in the appropriate cell.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Above post is not shown on New Posts list - difficulty posting.

    Pete

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    alternative non array
    =IF(ROWS($A$1:A1)>COUNTIF($E$11:$E$20,A$24),"",INDEX($A$11:$A$20&" ("&J11:J20&")",MATCH(LARGE(INDEX(($E$11:$E$20=A$24)*1/ROW($A$1:$A$10),0),ROWS($A$1:A1)),INDEX(($E$11:$E$20=A$24)*1/ROW($A$1:$A$10),0),0)))

  7. #7
    Registered User
    Join Date
    08-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Many thanks everyone.

    Pete-UK: I like yours the best because it's really simple, but it doesn't combine the deliver drop off points with the name of the person: e.g. Fitz, Matt (WS) [ws being the type of bread in column J)

    Is there a way of modifying your formula to add this?

    Martindwilson: your formula is brilliant but sadly I can't seem to get it to work on on of our office computers which runs the (dreaded and clunky) OpenOffice Calc package!

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Change the formula in A25 to this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy across and down as required.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    08-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Scrap that. I've got it to work!
    Wow.
    Many thanks MartindWilson.

    Just one more thing (to complicate things!): Is there any way you can adjust the formula so that I can produce a different delivery table for every day of the week? (using data from column K?)

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    cant help that don't really do open office probably because it is considered an aarry by openoffice
    but the original wordbook i posted does what you ask

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    ..Just one more thing (to complicate things!): Is there any way you can adjust the formula so that I can produce a different delivery table for every day of the week? (using data from column K?)
    I don't know for Open Office but i believe that my modified ARRAY formula does also this.

    =IFERROR(INDEX($B$11:$B$20&" "&"("&$K$11:$K$20&")";SMALL(IF(($F$11:$F$20=B$24)*($L$11:$L$20=$A25);ROW($B$11:$B$20)-10);ROW(B$1)));"")

    *Thanks for the rep* and your kind words.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    08-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    Many thanks everyone. Great stuff!

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Slightly complex Concatenate with IFS - help appreciated!!

    You are welcome and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thank you.

  14. #14
    Registered User
    Join Date
    08-08-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    [SOLVED] Re: Slightly complex Concatenate with IFS - help appreciated!!

    Sorry, have reposted as a new query as it's a slightly different issue!
    Attached Files Attached Files
    Last edited by twigdip; 08-08-2013 at 08:28 AM.

+ 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. Got there in the end. Any help appreciated! :)
    By ExceI in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2010, 11:46 AM
  2. Slightly complex conversion and date calculation
    By Junior19 in forum Excel General
    Replies: 4
    Last Post: 05-07-2008, 07:16 AM
  3. Somebody help me please - any help much appreciated!
    By bubbleou in forum Excel General
    Replies: 1
    Last Post: 03-28-2007, 03:13 PM
  4. Bug help appreciated
    By peter.thompson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2007, 06:24 PM
  5. Any help much appreciated
    By Ryk in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 12: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