I would like to combine and IF statement and Index Match so that depending on what is entered in a cell I can index that info. Can anyone help?
I would like to combine and IF statement and Index Match so that depending on what is entered in a cell I can index that info. Can anyone help?
ignore the last post info - wrong script used - sorry , i cannot edit to change for some reason
not 100% sure what you mean
in A1 you have a value you want to use in and index/match
=index(column to recieve, match ( a2 , column to match,0))
Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.
A sample sheet would help here
Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet
A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
Here are the instructions, found at the top of the page again
Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
Last edited by etaf; 07-18-2022 at 02:11 PM.
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
ID Start time Completion time Conditions Sample 1 Sample 2
1 7/8/22 9:06:12 7/8/22 9:06:43 a1 b1 c1
2 7/8/22 13:20:37 7/8/22 13:22:07 a2 b2 c2
3 7/8/22 13:31:47 7/8/22 13:32:29 a3 b3 c3
4 7/18/22 11:27:51 7/18/22 11:30:48 a4 b4 c4
ID Number
1
1st Answer a1
2nd Answer Depending on Cell C11 IF(C11="a1",INDEX(E:E,MATCH(C10,A:A,0)))C11="A2",INDEX(F:F,MATCH(C10,A:A,)))
=IF(C11="A1",INDEX(E:E,MATCH(C10,A:A,0)),IF(C11="A2",INDEX(F:F,MATCH(C10,A:A,)),""))
but a sample spreadsheet would still help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks