+ Reply to Thread
Results 1 to 13 of 13

IF alternative or additional formula

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    IF alternative or additional formula

    Hi,

    I have some spreadsheets set up to track payments, Spreadsheet 1 shows ALL companies with Spreadsheets 2,3,4+ set up to track the individual companies.

    On spreadsheet 2,3,4 ETC I am using a simple =IF('All Tracker'!B6="Company1",'All Tracker'!B6," ") - this is then duplicated across to column P to pick up other details

    Although this works and picks up the data i need i would like the data when it enters the individual company spreadsheet to automatical fill down from the top of the speadsheet and not it the corresponding location to where it is in the ALL spreadsheet.

    I understand i could probable just copy and paste the date to the top of the sheet but there are around 15 sheets and i am sure there will be a way to do this.

    Thank You.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF alternative or additional formula

    Create a helper column on your "All Tracker Sheet" You can hide this later if you like
    Assuming data starts in row 6, I put my helper column in K, In K6 copied down

    =B6&COUNTIF($B$6:$B6,B6)

    On the individual sheets, Lets' say for Company A

    =IFERROR(INDEX('All Tracker'!$B$6:$B$25,MATCH("Company A"&ROWS($A$1:$A1),'All Tracker'!$K$6:$K$25,0)),"")
    modify the formula for all columns of data you wish to pull over.
    See example
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    ChemistB
    Thank You, i am however experiencing a few problems.
    My amended formula, in B6, to take into account my ranges is =IFERROR(INDEX('All Tracker'!$B$6:$B$1000,MATCH("Company 1"&ROWS($A$1:$A1),'All Tracker'!$A$1:$A$1000,)),"") this brings in the first 6th line of Company 1's data , it misses out the first 5 rows, when copying down it shows the correct number of lines for company 1, which is 11, but shows 5 lines of data from Company 2.

    I will try and anonomise the data and attach it shortly to show you.
    Thanks Again.

  4. #4
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    I am having an issue anomonisng the data in a seperate spreadsheet it then brings blank cells back, i will try again later. Thanks

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: IF alternative or additional formula

    I noticed a small difference in your formula to CB's....
    =IFERROR(INDEX('All Tracker'!$B$6:$B$1000,MATCH("Company 1"&ROWS($A$1:$A1),'All Tracker'!$A$1:$A$1000,)),"")

    This may be causing your problem - your ranges are not the same
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    FDibbins, thanks.

    I dont think that will be the issue, the ranges are different on my formala as the range of data in my spreadhseet is larger and my helper column is located in A instead of K.

  7. #7
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    Here is some anonomised date i have in my 'All Tracker'.
    Attached Files Attached Files

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: IF alternative or additional formula

    Sorry to be a pain, but could you provide a few sample answers on this? I see where you want he answers (I think), but cant see what you want teh extract based on

  9. #9
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    I have now attached what i would be looking to acheive with all of the data copied to the relevant matching companys seperate sheet.

    Thanks

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: IF alternative or additional formula

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter.
    Assuming that as shown in the attached sheet in post#9, all the sheets, excluding All Tracker sheet, contain company name in B1, then

    In B6
    Please Login or Register  to view this content.
    and then copy across and down as far as needed.

    Is this what you are trying to achieve?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  11. #11
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF alternative or additional formula

    FDibbins was correct. The reference to Col A needs to start with row 6

    =IFERROR(INDEX('All Tracker'!B$6:B$1000,MATCH("BE LTS"&ROWS($A$1:$A1),'All Tracker'!$A$6:$A$1000,)),"")

    I also removed the anchors ($) from in front of the B6:B1000 so that when you drag it to the right, it pulls the next column.

    I created a new tab "BE LTS 2" to show you results with the formula. (placed in A2 and copied across and down)
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-29-2014
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: IF alternative or additional formula

    SKTNEER & CHEMISTB -Thank you for your latest replies, both give me the desired out come.

  13. #13
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: IF alternative or additional formula

    You're welcome and thanks for the feedback.

+ 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. Replies: 1
    Last Post: 02-06-2014, 03:00 PM
  2. [SOLVED] An alternative to the [IF] formula.
    By Aland2929 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2013, 08:12 AM
  3. Alternative Formula for multiples IFs (to make my formula shorter)
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2013, 12:37 AM
  4. alternative formula
    By gerard_gonzales33 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2012, 05:37 AM
  5. [SOLVED] Lookup Formula Alternative
    By zhb12810 in forum Excel General
    Replies: 4
    Last Post: 09-17-2012, 07:53 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