+ Reply to Thread
Results 1 to 4 of 4

Please help! Formula issue

  1. #1
    Forum Contributor
    Join Date
    03-08-2019
    Location
    England
    MS-Off Ver
    2016
    Posts
    104

    Please help! Formula issue

    Hello,
    (formula in col F)

    I had the following formula; (old formula)

    =IFERROR(VLOOKUP($B3,$B$2:$F2,5,0),SWAPSHOP(B3,$B$3:$E$500,$I$3:$L$9)))

    This formula would always return a value in Col F regardless of if Col E was blank or not.

    I amended the formula to; (new formula)

    =IF(E3="","",IFERROR(VLOOKUP($B3,$B$2:$F2,5,0),SWAPSHOP(B3,$B$3:$E$500,$I$3:$L$9)))

    This now means that if Col E is blank then Col F also remains blank.

    However this is not quite my desire.

    I have a series of codes in Col B, sometimes they are identical. If Col C there will be a corresponding code description. If there is information in Col E then then formula is supposed to return a new code description - however now even if there is a value in E4 and E5 for material 100 because E3 is blank for code 100 the new code description does not update in Col F.


    Please see attached for a visual of what I am trying to explain as I am struggling a fair bit to explain (I have knocked out all formulas and put this on a new spreadsheet to what I am really working on)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-08-2019
    Location
    England
    MS-Off Ver
    2016
    Posts
    104

    Re: Please help! Formula issue

    Essentially, if Col B3/4/5 has a code occurring multiple times and there is information in Col E4 for example I need Col F4 to populate in that row with Col E3 and E5 being blank then F3 and F5 remain blank.

  3. #3
    Forum Contributor
    Join Date
    03-08-2019
    Location
    England
    MS-Off Ver
    2016
    Posts
    104

    Re: Please help! Formula issue

    =if($e3="","",iferror(index($f:$f,aggregate(15,6,row($e$2:$e2)/($b$2:$b2=$b3)/($f$2:$f2<>""),1)),swapshop(b3,$b$3:$e$500,$i$3:$l$9)))

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Please help! Formula issue

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. SKU Formula Issue
    By Agha Ali in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-02-2019, 09:58 AM
  2. Replies: 7
    Last Post: 12-15-2017, 12:14 AM
  3. [SOLVED] Index Match Formula Issue - Lookup Value is a Formula
    By dodgemain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2016, 11:48 AM
  4. [SOLVED] IF Formula Issue
    By Leecedwards in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-11-2014, 08:34 AM
  5. Lookup Formula Issue, Search issue
    By kperitz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-07-2014, 01:50 PM
  6. If formula issue
    By punter in forum Excel General
    Replies: 2
    Last Post: 09-17-2008, 04:29 PM
  7. An issue regarding the formula
    By HuaMin in forum Excel General
    Replies: 2
    Last Post: 12-07-2005, 11:45 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