• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

  • CF has always been a site that welcomes people from different backgrounds and beliefs to participate in discussion and even debate. That is the nature of its ministry. In view of recent events emotions are running very high. We need to remind people of some basic principles in debating on this site. We need to be civil when we express differences in opinion. No personal attacks. Avoid you, your statements. Don't characterize an entire political party with comparisons to Fascism or Communism or other extreme movements that committed atrocities. CF is not the place for broad brush or blanket statements about groups and political parties. Put the broad brushes and blankets away when you come to CF, better yet, put them in the incinerator. Debate had no place for them. We need to remember that people that commit acts of violence represent themselves or a small extreme faction.
  • We hope the site problems here are now solved, however, if you still have any issues, please start a ticket in Contact Us

  • The rule regarding AI content has been updated. The rule now rules as follows:

    Be sure to credit AI when copying and pasting AI sources. Link to the site of the AI search, just like linking to an article.

dvd_holc

Senior Veteran
Apr 11, 2005
3,122
110
Arkansas
✟27,166.00
Faith
Christian
Marital Status
Married
I want to set up a lookup function that will look up column 1 and column 2 to get a value in column X. Example:

Column 1 Column 2 Column X
row 1 a 1 10
row 2 a 2 20
row 3 b 1 15
row 4 b 2 35


so I want to search column 1 for "a" and column 2 "2" to get value 20

What do I function(s) do I write in excel?
 
Last edited:

galaxym1

Newbie
Apr 27, 2013
17
0
✟22,627.00
Faith
Muslim
Marital Status
Private
There is a tricky way to do this.

insert extra column before Column X, suppose column W. in this extra column concatenate the values in column 1 and column 2. Use the formula like: A1&B1 to concatenate values in column 1 and column 2 Now, you will have:
column 1
column 2
column W (A1&B1)
column X

Also, you have to concatenate both columns on the other file,sheet. Now, you can perform lookup on column W, and get column X.

Good Luck brother
 
Upvote 0

dysert

Member
Feb 29, 2012
6,233
2,240
USA
✟128,004.00
Gender
Male
Faith
Christian
Marital Status
Married
There is a tricky way to do this.

insert extra column before Column X, suppose column W. in this extra column concatenate the values in column 1 and column 2. Use the formula like: A1&B1 to concatenate values in column 1 and column 2 Now, you will have:
column 1
column 2
column W (A1&B1)
column X

Also, you have to concatenate both columns on the other file,sheet. Now, you can perform lookup on column W, and get column X.

Good Luck brother
That's a good idea. And to answer the original question, you'd use the VLOOKUP function.
 
Upvote 0