+ Reply to Thread
Results 1 to 4 of 4

How to ask excel to sum value of a column, but if column in empty, refer to another column

  1. #1
    Registered User
    Join Date
    09-22-2023
    Location
    Chelmsford, England
    MS-Off Ver
    Sharepoint
    Posts
    2

    Question How to ask excel to sum value of a column, but if column in empty, refer to another column

    Hi
    I'm hoping someone can help! I usually google for answers, but I'm struggling to describe what it is that I want to do with the right terms.

    I am tracking pipeline business in an excel spreadsheet on sharepoint.

    Throughout the sales process, there are 3 stages at which we record potential fees, becoming more accurate as you go through the process. I am trying to build a formula that says 'look at value in column C, unless it is empty, then look at B, and if that's empty, look at A'.

    Would anyone be able to point me in the right direction of how to do this?

  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 2406
    Posts
    44,486

    Re: How to ask excel to sum value of a column, but if column in empty, refer to another co

    In the absence of a sample file, showing expected answers....


    maybe:

    =IF(C3<>"",C3,IF(B3<>"",B3,IF(A3<>"",A3,"")))
    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

  3. #3
    Registered User
    Join Date
    09-22-2023
    Location
    Chelmsford, England
    MS-Off Ver
    Sharepoint
    Posts
    2

    Re: How to ask excel to sum value of a column, but if column in empty, refer to another co

    I love you! That's perfect and works exactly as I need it too.

    I hope lots of wonderful things come your way

  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 2406
    Posts
    44,486

    Re: How to ask excel to sum value of a column, but if column in empty, refer to another co

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] If Column A is not empty, Column B = Column C (Google Sheet)
    By ahfei in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-01-2022, 09:59 PM
  2. [SOLVED] Fill down text from selection to last column refer by another column
    By wedpisit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2021, 12:50 AM
  3. Compare two sheets column by column and insert an empty column with a header
    By MCGOM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2019, 04:07 AM
  4. Copy from cell in column C to Column B if Column B is empty
    By anakaine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2016, 12:40 AM
  5. Conditional Format: Highlight cells in Column C that refer to Column B
    By agf12555 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-26-2015, 05:16 PM
  6. Replies: 4
    Last Post: 08-31-2010, 10:48 PM
  7. code change to refer to column name rather than column position
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2009, 11:04 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