Jewells0905
New Member
- Joined
- Mar 10, 2024
- Messages
- 42
- Office Version
- 365
- Platform
- Windows
- MacOS
Hello All,
I am trying to write a formula to make an interactive spreadsheet to select cars based on three criteria:
Now my issue is that I am not able to get the formula to work for column J. I may just not have it in the correct order, or something simple, but I am needing to use IF, AND as well as OR for this formula. Below is what I have thus far.
=IF(AND(OR(B1,B2,B3),A7,)(I7=B1,C1,D1))
Thank you
I am trying to write a formula to make an interactive spreadsheet to select cars based on three criteria:
- Origin. In cells B1:D1 the user enters one or more regions of interest, including "US", "Europe", and "Japan", not necessarily in this order, either all three or just some of them, one name per cell.
- Maximum weight. In cell B2, the user enters the maximum allowed car weight in pounds.
- Maximum number of cylinders. The user enters the maximum allowed number of cylinders in cell B3.
Now my issue is that I am not able to get the formula to work for column J. I may just not have it in the correct order, or something simple, but I am needing to use IF, AND as well as OR for this formula. Below is what I have thus far.
=IF(AND(OR(B1,B2,B3),A7,)(I7=B1,C1,D1))
Origin(s): | US | Europe | Japan | ||||||
Max weight: | 3500 | ||||||||
Max cylinders: | 6 | ||||||||
Total: | 1 | ||||||||
Car | MPG | Cylinders | Displacement | Horsepower | Weight | Acceleration | Model | Origin | Selection |
Chevrolet Chevelle Malibu | 18 | 8 | 307 | 130 | 3504 | 12 | 70 | US | #N/A |
Buick Skylark 320 | 15 | 8 | 350 | 165 | 3693 | 11.5 | 70 | US | |
Plymouth Satellite | 18 | 8 | 318 | 150 | 3436 | 11 | 70 | US | |
AMC Rebel SST | 16 | 8 | 304 | 150 | 3433 | 12 | 70 | US | |
Ford Torino | 17 | 8 | 302 | 140 | 3449 | 10.5 | 70 | US | |
Ford Galaxie 500 | 15 | 8 | 429 | 198 | 4341 | 10 | 70 | US | |
Chevrolet Impala | 14 | 8 | 454 | 220 | 4354 | 9 | 70 | US | |
Plymouth Fury iii | 14 | 8 | 440 | 215 | 4312 | 8.5 | 70 | US | |
Pontiac Catalina | 14 | 8 | 455 | 225 | 4425 | 10 | 70 | US | |
AMC Ambassador DPL | 15 | 8 | 390 | 190 | 3850 | 8.5 | 70 | US | |
Citroen DS-21 Pallas | 0 | 4 | 133 | 115 | 3090 | 17.5 | 70 | Europe | |
Chevrolet Chevelle Concours (sw) | 0 | 8 | 350 | 165 | 4142 | 11.5 | 70 | US | |
Ford Torino (sw) | 0 | 8 | 351 | 153 | 4034 | 11 | 70 | US | |
Plymouth Satellite (sw) | 0 | 8 | 383 | 175 | 4166 | 10.5 | 70 | US | |
AMC Rebel SST (sw) | 0 | 8 | 360 | 175 | 3850 | 11 | 70 | US | |
Dodge Challenger SE | 15 | 8 | 383 | 170 | 3563 | 10 | 70 | US | |
Plymouth 'Cuda 340 | 14 | 8 | 340 | 160 | 3609 | 8 | 70 | US | |
Ford Mustang Boss 302 | 0 | 8 | 302 | 140 | 3353 | 8 | 70 | US | |
Chevrolet Monte Carlo | 15 | 8 | 400 | 150 | 3761 | 9.5 | 70 | US | |
Buick Estate Wagon (sw) | 14 | 8 | 455 | 225 | 3086 | 10 | 70 | US | |
Toyota Corolla Mark ii | 24 | 4 | 113 | 95 | 2372 | 15 | 70 | Japan |
Thank you