Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6203781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:58:31+00:00 2026-05-24T04:58:31+00:00

I have a Excel spreadsheet that has two tabs, I have data on the

  • 0

I have a Excel spreadsheet that has two tabs, I have data on the DATA tab and the results of the data on the RESULTS tab. On the RESULTS tab I need to create a vlookup that will look for data on the DATA tab and subtract Column A from Column B. Is this possible with vlookup?

I have a before and after with the same clientID but data being copied/pasted will change.

Before 
A        B      C
1021    102    125.00
1022    102    150.00
1023    105    100.00

After
A       B        C
1021   102   125.00
1022   102   
1023   105   100.00

So each day I take the AFTER number and paste them over the before number, and get my new AFTER numbers from another tab.But if the pasted AFTER number does not have data for that specific account (in this case 1022), and the new AFTER number I get from another tab does not have data for 1022, my comparision will be off an account and will not notify me that this account is missing. I’m sorry, i know that is probably confusing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:58:32+00:00Added an answer on May 24, 2026 at 4:58 am

    I don’t actually get why you need to use VLOOKUP to substract two columns…

    In the results tab, you could just type

    =IF(AND(DATA!B1<>"",DATA!A1<>""),DATA!B1-DATA!A1,"")
    

    And copy the formula down the whole column.

    The IF condition checks if both DATA!B1 and DATA!A1 are not empty, in which case it means they both have data and it will substract it. If one of the two columns is empty, it won’t do anything, which is what you want.

    If I didn’t understand your question correctly, feel free to comment and clarify and I will propose something else.

    Edit for VLOOKUP solution: I’m assuming that the client IDs are in column A in both tabs and you have to substract B from C in the same row as the ID in the DATA tab.

    In RESULTS, use the following formula (put this one in row number 1 and copy it down):

    =VLOOKUP(A1,DATA!A:C,3,FALSE)-VLOOKUP(A1,DATA!A:C,2,FALSE)
    

    This will return 0 if both fields are empty, C if only B is empty and -B if only C is empty.

    I can modify this if you need a different behavior depending on which columns are empty.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data in an Excel spreadsheet that has 10,000 rows with the following
I have a sharepoint site that has an excel spreadsheet that I need to
I have an Excel spreadsheet that will sit out on a network share drive.
I have an excel spreadsheet that is password-protected. I need to open this spreadsheet
Ok, so I have an excel spreadsheet that contains data that I would like
I have an excel spreadsheet that has 2 columns. Something like this |ColA |
I have an Excel spreadsheet which has a pivot table on it. The data
I have a large Excel spreadsheet with a column that has an identifying number.
I have a Excel spreadsheet of requirements created from ReqPro that I need to
Currently, I have an Excel spreadsheet with some data and a command button that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.