+ Reply to Thread
Results 1 to 22 of 22

Urgent Help required !!!! - to deplay correct loop methodology are some other equivalent

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Urgent Help required !!!! - to deplay correct loop methodology are some other equivalent

    Hi All

    Could any one look in to my query and help me find the ideal looping methodology or equivalent technique to solve my request.

    I have explained my requirement more in detail in the attachment.

    Kindly reply me if more details required from me to understand the requirement.

    Thanks in advance for the help!

    Best
    Rem0
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    if d2 = 'CFG' and n2 = "global" then authoriser = pick from authoriser sheet range b2
    Shouldn't that be from range b3 in the authorizer sheet??
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi xladept

    Thanks for looking in to my query.

    Yes you are right! it should be b3 in authorizer sheet.

    Thanks!
    Rem0

  4. #4
    Registered User
    Join Date
    11-01-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    =IF(D2="BS",IF(N2="Global",Authoriser!$B$2,""),IF(D2="CFG",IF(N2="Global",Authoriser!$B$3,""),""))

    A simple if statement can give you what you need. See above. In the if statement above if D2 and N2 don't equal your request and blank is returned.

  5. #5
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi Lakerftbl

    Thanks for the input, the problem for me is the no of conditions going to be 30-35, so not sure it is worth doing it using IF statement.

    Thanks for looking in to this.

    I will try to implement formula in vba, once again thanks for the input.

    Best
    Rem0

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    We need the flavor of some other of your conditions - what if N were'nt "global"??????

  7. #7
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi xladept

    No there is no chance of N not be "Global", its definitely be global and i'm sure about it.

    Best
    Rem0

  8. #8
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi xladept

    Some more conditions for eg to give a closer look of my requirement.

    Cond.3 ---> if d2 ='CB' and o2 = "" then y2 = b4 from authoriser sheet
    Cond.4 ---> if d2 ='MID' and n2 = 'Global' and o2 = 'Asia' then y2 = b5 from authroiser sheet

    This is how the logic is going to be, which means if any one condition is true it needs to pick the refered cell value in authoriser sheet.

    Note: Each condition refers a unique authoriser cell value reference

    Thanks again for looking in to this, as i'm already stuck with area with a point of no return. Any help on this will really help me a lot.

    Best
    Rem0

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi RemOram,

    Try this:

    Please Login or Register  to view this content.

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi RemOram,

    Try this:

    Please Login or Register  to view this content.

  11. #11
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Rem0ram
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Ben Van Johnson

  12. #12
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi -

    How about this one?

    Please Login or Register  to view this content.
    Regards,
    Event

  13. #13
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi xladept and event21

    Thanks for your inputs will look in to this and get back to you guys.

    Best
    Rem0

  14. #14
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi Xladept

    Sorry I was not quite clear about my requirement.

    Actually the conditional combination also involves multiple range checks like below:

    if e2 = "NV" and o2 = "Asia" then y2 = authoriser range b5
    if g2 = "RS" and o2 ="America" then y2 = authoriser range b6

    so, it gonna be like combining multiple For Each as per your code or do you have diff. idea?

    Best
    Rem0

  15. #15
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi protonLeah

    Thanks for the note.

    I have been searching the edit option but can't find it, if you are a moderator can you help me amend the thread title or if you know one can you refer his/her name?

    Best
    Rem0

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Wouldn't b5 be "nv" and b6 be "rs"???

  17. #17
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi xladept

    Yes!

    And moreover the code you given checks only d column whereas my requirement is to check d column and n column for 1 condition; e column and o column for 1 condition for each row until one of them is true.

    Best
    Rem0

  18. #18
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Is that the whole story? Or, are there a host of other conditions?? In order to code the routine, I need to know all the conditions - or do you just want an example based on the conditions so far revealed???

    Also there are conflicts - so is there a priority as to which one to choose?
    Last edited by xladept; 12-14-2012 at 03:06 PM.

  19. #19
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi Xladept

    Thanks for being patient.

    I have revealed all the conditions here, only point is I dont want to refer the A column in authoriser sheet instead i would like to straight away refer the cell reference.

    To reitrate again,

    if i'm in 2 row of the OrgGeo, if d2 = Business sevices and N2 = Global then i want to refer corresponding y value from Authoriser sheet without using the reference of column A.

    if this condition fails then next condition will be if d2 = CFG and o2 = Americas and p2 = "" then i want to refer y value from authoriser sheet without using the reference of column A.

    thus, i want to check a sequence of conditions for each row till end of row.

    Hope this clarifies!

    Best
    Rem0

  20. #20
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi RemO,

    Maybe:

    Please Login or Register  to view this content.

  21. #21
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    Hi Xladept

    Thanks this is what i required, however based on the timing factor I have choosed to Nested IF formula in VBA to serve my purpose.

    Anyways Thanks a Trillion!

    Best
    Rem0

  22. #22
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Urgent Help required !!!! - to deplay correct loop methodology are some other equivale

    You're welcome! Good Luck!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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