Return value determined by multiple criteria

Nicole Jones

New Member
Joined
Oct 22, 2016
Messages
32
Office Version
  1. 365
Platform
  1. Windows
Not sure if what I am asking is possible.

I am creating a register that will capture revision data using a single row for each document number. These documents are being uploaded into two different areas "Q" and "I" and I would like to include two "current status" columns in my register. I would like a formula in each of these columns to look at the row and only return the value if the location above corresponds to it.

In the image I have colour coded what values the 'status' columns should be returning based on the Rev value not being null and the location above containing a Q or I.

I really hope this is clear and that it is possble.

Thank you in advance for your assistance.
 

Attachments

  • Screenshot 2024-11-21 142156.png
    Screenshot 2024-11-21 142156.png
    14.7 KB · Views: 12

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try:
Book1
ABCDEFG
1Q&IQ&IQQI
2Q StatusI Status
3ABPLHAB
4APLHPLHA
5PLHPLHPLH
Sheet3
Cell Formulas
RangeFormula
A3:A5A3=TAKE(FILTER(C3:G3,ISNUMBER(SEARCH("Q",$C$1:$G$1))*(C3:G3<>"")),,-1)
B3:B5B3=TAKE(FILTER(C3:G3,ISNUMBER(SEARCH("I",$C$1:$G$1))*(C3:G3<>"")),,-1)
 
Upvote 0
Solution
Try:
Book1
ABCDEFG
1Q&IQ&IQQI
2Q StatusI Status
3ABPLHAB
4APLHPLHA
5PLHPLHPLH
Sheet3
Cell Formulas
RangeFormula
A3:A5A3=TAKE(FILTER(C3:G3,ISNUMBER(SEARCH("Q",$C$1:$G$1))*(C3:G3<>"")),,-1)
B3:B5B3=TAKE(FILTER(C3:G3,ISNUMBER(SEARCH("I",$C$1:$G$1))*(C3:G3<>"")),,-1)
This is amazing, thank you so much.
 
Upvote 0
This is amazing, thank you so much.
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers.
No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top