populate cell based on cell values in same row

theonlyhamish

New Member
Joined
Aug 13, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi folks, first time be gentle lol. Ive had a look at similar questions but im still not managing to get this one.

Im trying to populate column J (this year) based on the specific values in columns B (type), E (date last visit), G (score) and H (urgent) in the same row.

so in my simplistic nature - if B=(a,b,c) + E is less than 1-4-21 + G=3 and H=(HIGH, MEDIUM) the J displays 'Y'

Ive looked at versions of Vlookup and If criteria but im spiraling lol ... any help would be fantastic.
 

Attachments

  • Capture.PNG
    Capture.PNG
    15.9 KB · Views: 5

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
By this

if B=(a,b,c) + E is less than 1-4-21 + G=3 and H=(HIGH, MEDIUM) the J displays 'Y'

do you mean this?

If B = a or b or c and E is less than 1-4-21 and G=3 and H= High or Medium then J display Y

If so then try

in J2
=IF(AND(OR(B2="a",B2="b",B2="c"),E2<"01-04-21",G2=3,OR(H2="High",H2="Medium")),"Y","")
 
Upvote 0
=IF(AND(OR(B1="a",B1="b",B1="c"),E1<DATEVALUE("1/4/21"),G1=3,OR(H1="HIGH",H1="MEDIUM")),"Y","N")

Sum positive and negative nos separately.xlsx
BCDEFGHIJ
1a1/2/20213HIGHY
2b4/25/20212MEDIUMN
3c1/2/20213MEDIUMY
Sheet2
Cell Formulas
RangeFormula
J1:J3J1=IF(AND(OR(B1="a",B1="b",B1="c"),E1<DATEVALUE("1/4/21"),G1=3,OR(H1="HIGH",H1="MEDIUM")),"Y","N")
 
Upvote 0

Forum statistics

Threads
1,214,403
Messages
6,119,309
Members
448,886
Latest member
GBCTeacher

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