+ Reply to Thread
Results 1 to 5 of 5

averageif + vlookup from another sheet

  1. #1
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    averageif + vlookup from another sheet

    Hi I need someone to crawls data to find 'averageif' in our google sheet,


    https://docs.google.com/spreadsheets...#gid=935726050

    Please fill in all the yellow colored field in the 2 sub sheets (IS & Details) with formula

    Maybe use vlookup at IS and ifaverage in Details

  2. #2
    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
    52,936

    Re: averageif + vlookup from another sheet

    Quote Originally Posted by maniacs205 View Post
    ...Please fill in all the yellow colored field in the 2 sub sheets (IS & Details) with formula

    Maybe use vlookup at IS and ifaverage in Details
    to do what?

    Please provide some sample answers of what you expect, we are not mind readers here lol
    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

  3. #3
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: averageif + vlookup from another sheet

    Quote Originally Posted by FDibbins View Post
    to do what?

    Please provide some sample answers of what you expect, we are not mind readers here lol
    Please look at the expected result, I made the text colored in red.
    Basicaly, I need a formula that can crawls out onto a set of colomns but skips some data in the colomn.

    So if you could take a look, it starts from the details sheet then it crawls onto the IS sheet, then at the the IS sheet it will crawls on the details sheet.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: averageif + vlookup from another sheet

    Although this shows how it might be handled in Excel, perhaps it is transferable and will be helpful.
    1. Add a column (A) to the IS sheet populated using**: =AVERAGE(IFERROR((C4:Z4)/(ISNUMBER(C4:Z4)),""))
    2. The average industry growth rate on the IS sheet: =SUMPRODUCT((C$1:C$31=C1)*(A$4:A$34))/SUMPRODUCT(--(C$1:C$31=C1))
    3. The industry names on the Details sheet**: =IFERROR(INDEX(IS!C$1:C$31, MATCH(0, IF(NOT(ISTEXT(IS!C$1:C$31)), 1, COUNTIF(IS!O$1:O1, IS!C$1:C$31)), 0)),"")
    4. The average industry growth rate on the Details sheet: =IF(A2="","",INDEX(IS!G$1:G$31,MATCH(A2,IS!C$1:C$31,0)))
    ** denotes array formulas which are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: averageif + vlookup from another sheet

    Quote Originally Posted by JeteMc View Post
    Although this shows how it might be handled in Excel, perhaps it is transferable and will be helpful.
    1. Add a column (A) to the IS sheet populated using**: =AVERAGE(IFERROR((C4:Z4)/(ISNUMBER(C4:Z4)),""))
    2. The average industry growth rate on the IS sheet: =SUMPRODUCT((C$1:C$31=C1)*(A$4:A$34))/SUMPRODUCT(--(C$1:C$31=C1))
    3. The industry names on the Details sheet**: =IFERROR(INDEX(IS!C$1:C$31, MATCH(0, IF(NOT(ISTEXT(IS!C$1:C$31)), 1, COUNTIF(IS!O$1:O1, IS!C$1:C$31)), 0)),"")
    4. The average industry growth rate on the Details sheet: =IF(A2="","",INDEX(IS!G$1:G$31,MATCH(A2,IS!C$1:C$31,0)))
    ** denotes array formulas which are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.
    Hi,

    Thanks I have a looked at the real data but could not succeed, please try directly in our google sheet so we'll know for sure it'll succeed. Because we can't add additional data which you did at sheet "IS" colomn A.

+ 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] AVERAGEIF and VLOOKUP Question
    By JVT%^ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-01-2023, 04:27 AM
  2. [SOLVED] Averageif/vlookup across several sheets
    By Labben in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-09-2020, 04:25 AM
  3. [SOLVED] Array search (Vlookup, Hlookup, AverageIF) function help please
    By LukeNZ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2018, 03:21 AM
  4. AverageIf formula created from another sheet
    By xbricx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2018, 04:03 PM
  5. Vlookup and AverageIF <>0 cells together
    By jordanpnu in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2015, 02:05 PM
  6. Averageif/vlookup
    By lejanco in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2014, 02:07 PM
  7. Challenge Accepted?! IF,VLOOKUP,AVERAGEIF,.....
    By ZueriBoca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-27-2013, 08:25 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