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 8942707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:34:51+00:00 2026-06-15T11:34:51+00:00

I have two tables: # BILLING PERIOD TABLE +———–+ | id | value| ————-

  • 0

I have two tables:

# BILLING PERIOD TABLE
+-----------+
| id | value|
-------------
|  1 | some |
|  2 | else |
xxxxxxxxxxxxx

and

# ELECTRICITY TABLE

+----------------------------+
| billing period| value      |
------------------------------
| 1             | desired val|
| 2             |            |
| 3             |            |

And I would like to write formula that takes and compares billing period id with billing period and puts value from billing period table to the cell value next to billing period

any help will be appreciated

  • 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-06-15T11:34:53+00:00Added an answer on June 15, 2026 at 11:34 am

    As was suggested by @Tim Williams, VLOOKUP() is the way to go.

    Assuming you’ve named the first table BILLING_PERIOD, and the second table ELEC, and using your headers, in the value column you would use:

    =VLOOKUP([@[billing period]],BILLING_PERIOD,2,FALSE)
    

    An extra touch can be to surround it with IFERROR, to insert some default value if the id isn’t in the table, instead of showing a #N/A error.

    EDIT: just noticed that it wasn’t mentioned, but my assumption was that you are talking about two excel tables, if that was not the meaning, please be more specific.

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

Sidebar

Related Questions

I have two tables, orders and old_orders. Each table has some similar fields and
I have two tables: table a ida valuea 1 a 2 b 3 c
I have two tables one with ID and NAME table 1 ID | NAME
I have two tables user table user_id | name | 1 | peter |
I have two tables, a user table and a application table: User id username
I have two tables connected with one to many relationship. Parent Table is a
I have two tables looking like this: A B id_attr value id id_attr value
I have two tables: one table (okay, it's a view), vComputer, lists many computers
I have two tables: A (col1,col2,col3,col4) B (col1,col2,col3,col4) Table A has 4 records(rows) and
I have two tables, namely Price List (Table A) and Order Record (Table B)

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.