+ Reply to Thread
Results 1 to 7 of 7

Return to K3: value either from J3 or G3 and if there is no value, use F3

  1. #1
    Registered User
    Join Date
    02-17-2021
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    31

    Return to K3: value either from J3 or G3 and if there is no value, use F3

    To cell K3, need to make a formula that returns value to Total Paid cell.
    Either column G3 or J3 should have a value (same row) -> use that value.
    Unless G3-/J3-cells has no value, return F3 value =total paid(column K3). And all the rows down.

    How to do this?
    Attached Files Attached Files
    Last edited by Tsinos; 04-20-2021 at 04:35 AM. Reason: updated header

  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
    44,023

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    One way:

    =IFERROR(1/(1/SUM(G3,J3)),F3)
    Attached Files Attached Files
    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
    02-17-2021
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    31

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    Fantastic! Thank you Glenn. I appreciate a lot!

  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
    44,023

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    You're welcome & thanks for the feedback!

  5. #5
    Registered User
    Join Date
    02-17-2021
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    31

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    One more question, which I did not come to think about in advance.
    Either Company A OR Company B can pay the invoice. Can there be a "heads-up" for the user if there is a value both on G3 and J3? that should not be possible.

  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
    44,023

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    Yes... maybe this:

    =IF(SUM(G3,J3)>MAX(G3,J3),"Alert",IFERROR(1/(1/SUM(G3,J3)),F3))

  7. #7
    Registered User
    Join Date
    02-17-2021
    Location
    Helsinki, Finland
    MS-Off Ver
    365
    Posts
    31

    Re: Return to K3: value either from J3 or G3 and if there is no value, use F3

    Works like a Dream! Thanks Glenn. Have a great day !

+ 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. Replies: 3
    Last Post: 09-04-2015, 12:19 PM
  2. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  3. Replies: 3
    Last Post: 02-11-2014, 12:41 PM
  4. Return the Title of a column if the column is the highest column with data
    By williamspage in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2013, 10:05 AM
  5. [SOLVED] Search Value of column E if exist return value of column B put result in column P
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 11:39 AM
  6. [SOLVED] Lookup and Match Column A with Column B and return Value from Column C
    By Mikeytres in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-28-2012, 12:19 PM
  7. Replies: 3
    Last Post: 01-10-2006, 06:10 AM

Tags for this Thread

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