+ Reply to Thread
Results 1 to 14 of 14

Help in Combining Formula

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Help in Combining Formula

    Hi guys... need all the help i can get to combine these 2 formula together, coz i need both of the function to work in the single cell..

    =OFFSET('Full List'!$A$6,ROW(F1)-1,COLUMN(F1)-1,1,1)

    =IF('Full List'!H6>0,'Full List'!H6,'Full List'!F6)

    really appreciate it.. thanks in advance

    cheers...
    shuriyan

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Hi there. is this what you meant? If not please explain what outputs you expect under different coircumstances...

    =IF('Full List'!H6>0,'Full List'!H6,OFFSET('Full List'!$A$6,ROW(F1)-1,COLUMN(F1)-1,1,1))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    Hi glenn.. thax for the fast respond.. i have already tried that equation before.. but i did not give me the result i was looking for..

    okay let me explain the output i am looking for..


    the below picture is the main Sheet named 'Full List'.. as you can see below i have alot of sub sheets name as AMOS,ANCHOR etc..

    the output i desire is that when i key in in full list the data will be transfer to those sub sheets. i manage to complete that by using
    =OFFSET('Full List'!$A$6,ROW(F1)-1,COLUMN(F1)-1,1,1)..

    sample 1.jpg

    here is the tricky part, as u can see the picture below is the AMOS sub sheets.. the cell i want apply those function combinations are the F6 as i want he price which is stated in the FULL LIST as in Cell H6.. therefore comes the usage of this =IF('Full List'!H6>0,'Full List'!H6,'Full List'!F6) which really did the job by choosing the value which i desire.

    The problem is now, whenever i added a new row in the FULL LIST as my company keep adding new item to the warehouse. The row will be added in AMOS sheet but only the price column in AMOS not affected by the added row. the picture attached shows the result.

    *** BEFORE ADDING ROW
    before.png

    *** AFTER ADDING ROW
    AFTER.png

    welll i think that a long story of complicated problems....hahahaha.... thanks

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Might be easier to follow if you posted a sample sheet.

  5. #5
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    hi glenn, as you requested.. here i attached my sample worksheet..

    Price List - Copy.xlsx

    cheers!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Not sure if I know what to do... but I'll give it a go!!

  7. #7
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    Quote Originally Posted by Glenn Kennedy View Post
    Not sure if I know what to do... but I'll give it a go!!
    no prob bro.. the effort is much apreciated

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Hope you're still out there...

    To summarise. On the AMOS sheet, if AMOS have a price listed in the MAster sheet, transfer it to the AMOS sheet, otherwise, put the full price on the AMOS sheet. Is that it in a single sentence?

  9. #9
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    Quote Originally Posted by Glenn Kennedy View Post
    Hope you're still out there...

    To summarise. On the AMOS sheet, if AMOS have a price listed in the MAster sheet, transfer it to the AMOS sheet, otherwise, put the full price on the AMOS sheet. Is that it in a single sentence?
    yupp still here...it is exactly as you put it.... if in FULL PRICE sheet does not have any speacial price on AMOS it will us the normal price as in the mastersheet NORMAL PRICE column..
    as you can see the equation you given i have already use it in the cells... it work perfectly..

    but the only thing is, when i added new row between the item 1 and 2 in master sheet, in amos sheet the price stuck in the blank row.. i need to be able to add new row to update new items regularly according with the code numbers.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Try this out, then..

    So. I'd be tempted to abandon OFFSET entirely and go for INDEX-MATCH. The formula looks like a bit of a monster. Basically it's using the part number to find an Amos price from the master list. If it doesnt find anything, it returns the normal price. It's also an Array formula, ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    I had to change AMOS Price in the yello cell to AMOS so that I could match it against the supplier row in the full list.

    Clear as mud??
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    Quote Originally Posted by Glenn Kennedy View Post
    Try this out, then..

    So. I'd be tempted to abandon OFFSET entirely and go for INDEX-MATCH. The formula looks like a bit of a monster. Basically it's using the part number to find an Amos price from the master list. If it doesnt find anything, it returns the normal price. It's also an Array formula, ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    I had to change AMOS Price in the yello cell to AMOS so that I could match it against the supplier row in the full list.

    Clear as mud??

    hahahaha... i can see that it works perfectly.. juz that i dont quite understand the formula yet... hey bro 1 more thing.. how should i be able to change it to other supplier name.. coz i got at least 20 supplier sheet i need to link to the master sheet as u can see in the names in the FULL List...

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    I'd be tempted to to this, but ONLY once you're 100% certain that it does what you want....

    Delete all the other sheets.


    Right click on the tab name of Amos sheet, Move or copy, move to end, create a copy. Then, from your Master sheet copy the aname of the next company, paste it into the Tab name and paste it into F5. ( I changed the merged cell in row 4 to pick up the company name automatically and to pick up th modification date from D4,now an un-merged cell on the fuill list. It'll save updating the date on every sheet, every time you update any prices!!). Repeat.

    it takes about 15-20 seconds per sheet to complete. I've done the first two to encourage you!!

    OMG, it's started to snow here. Are you in KL? I'll bet it's not snowing with you!!
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    01-15-2015
    Location
    Malaysia
    MS-Off Ver
    MS 2010
    Posts
    15

    Re: Help in Combining Formula

    Damn... i would never understand the formula...hahahaha.... but as long it gets what i intend it to be good enough for me... well bro im staying in JB actualy, neighbor to singapore... n ya, we onlyhave 2 season here.. hot n wet... hahahaha

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,996

    Re: Help in Combining Formula

    Ha.. In Ireland we have cold and... colder; or wet and wetter. I was through JB, on a bus from Singapore through to Malacca, couple of years back... but it was at stupid o'clock in the morning and I wasn't really awake at the time...

+ 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. Combining IF and AND Formula with SUM?
    By yuj1n in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2014, 03:33 AM
  2. Combining OR and And in a formula
    By richmark in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 04-28-2013, 03:10 AM
  3. [SOLVED] Combining two IF formula's
    By Oaks15 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2012, 06:33 AM
  4. Combining two formula
    By FooFighter616 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2012, 06:41 AM
  5. Combining Formula
    By suburbanght in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2007, 11:17 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