+ Reply to Thread
Results 1 to 4 of 4

Need to check two columns to get the value of a third one

  1. #1
    Registered User
    Join Date
    07-08-2012
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    62

    Need to check two columns to get the value of a third one

    Hello friens.

    1. I have a sheet with 6 columns, A to F, and 50 rows.

    2. Each cell in column F, is formulated to calculate its value depending on the values the User enters in Column D or Column E; D would be added E would be substracted.

    3. Range(F50) is where I need to show the last calculated value in Range(F1:F49), which I think should be detectec by testing the last non blank cell in Range(D1:D49) or in Range(E1:E49).

    4. I have tryed using Vlookup, Index/Match and Lookup, but I was not able to do it.

    5. I could not get the sheet attached. Apologies.

    Thanks in advance.


    Nelson

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Need to check two columns to get the value of a third one

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It checks the last non-blank row in the range D1:E49 and returns the value on that row, two columns to the right of D (so F).


    p.s. if you need to attach a file in future, click 'Go Advanced' under the post/reply box then scroll down to 'Manage Attachments'.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    07-08-2012
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Need to check two columns to get the value of a third one

    Hi Aardigspook,

    Thank you so much.

    Unfortunately, your formula did not work. It always shows the value in F1.

    Anyway, somehow it gave me some, lets say "feeling", and I ended up with the formula that's below. It does the job.

    HTML Code: 
    Anyway, thank you.

    Nelson
    Last edited by necalabria; 02-09-2017 at 11:08 PM.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Need to check two columns to get the value of a third one

    Quote Originally Posted by necalabria View Post
    Unfortunately, your formula did not work. It always shows the value in F1.
    Ah, sorry, I forgot one essential part of it - it's an array formula, so needs to be entered using Ctrl-Shift-Enter not just Enter. Then it will return the F value on the correct row. Sorry about that.

    Anyway, I'm glad you worked out the other formula which works for you.

+ 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] Linking Columns of Check-boxes to respective columns
    By coyotes_wild in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2016, 03:29 PM
  2. [SOLVED] Check 2 Columns and then Sum 3rd Column
    By jetamala in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-28-2016, 06:56 AM
  3. [SOLVED] vlookup help to check two columns
    By mickgibbons1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-14-2013, 06:10 AM
  4. Check 7 columns over 17 worksheets
    By noggsy in forum Excel General
    Replies: 2
    Last Post: 01-27-2012, 11:39 AM
  5. Check the length and value of specific columns and comparion check between two sheets
    By sravanthi.boggaram in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-06-2011, 06:51 AM
  6. Check to see if one value appears in other columns
    By spadez8 in forum Excel General
    Replies: 2
    Last Post: 10-09-2011, 10:08 AM
  7. Check 1 no in all columns
    By Pankajdesh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2005, 01:44 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