Jump to content

How to make excel use a if statement for a range of cells

So I am trying to see if every name on one excel list also exists on another list, I want to do something like =IF(AT2=AS$2:AS$140, true, false) where AT2 is the name I want to see if it exists in the range of AS$2:AS$140, but it only returns true if the tested name happens to also be the first element of the ranged list. How do i make it test for every name in the ranged list. 

Link to comment
Share on other sites

Link to post
Share on other sites

If it's formatted as a table, you could use a simplified version of this. It checks in the same row. This one throws an error if on hand and ordered is less than my minimum. 

=IFERROR(IF(SUM(InventoryList[@[ON HAND]],InventoryList[@[QTY ORDERED]])<InventoryList[@MINIMUM],1,0),0)

 

My bad. That doesn't do other sheets.

I'm not actually trying to be as grumpy as it seems.

I will find your mentions of Ikea or Gnome and I will /s post. 

Project Hot Box

CPU 13900k, Motherboard Gigabyte Aorus Elite AX, RAM CORSAIR Vengeance 4x16gb 5200 MHZ, GPU Zotac RTX 4090 Trinity OC, Case Fractal Pop Air XL, Storage Sabrent Rocket Q4 2tbCORSAIR Force Series MP510 1920GB NVMe, CORSAIR FORCE Series MP510 960GB NVMe, PSU CORSAIR HX1000i, Cooling Corsair XC8 CPU block, Bykski GPU block, 360mm and 280mm radiator, Displays Odyssey G9, LG 34UC98-W 34-Inch,Keyboard Mountain Everest Max, Mouse Mountain Makalu 67, Sound AT2035, Massdrop 6xx headphones, Go XLR 

Oppbevaring

CPU i9-9900k, Motherboard, ASUS Rog Maximus Code XI, RAM, 48GB Corsair Vengeance LPX 32GB 3200 mhz (2x16)+(2x8) GPUs Asus ROG Strix 2070 8gb, PNY 1080, Nvidia 1080, Case Mining Frame, 2x Storage Samsung 860 Evo 500 GB, PSU Corsair RM1000x and RM850x, Cooling Asus Rog Ryuo 240 with Noctua NF-12 fans

 

Why is the 5800x so hot?

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

=IFERROR((MATCH($C$4,$E$4:$E$10,0)<>0)*1,0)

Where C4 is the value your looking for and E4:E10 is the range. If it is 1 the value exists in the range, if 0 it does not.

Link to comment
Share on other sites

Link to post
Share on other sites

On 10/27/2020 at 10:56 AM, RevTadd said:

=IFERROR((MATCH($C$4,$E$4:$E$10,0)<>0)*1,0)

Where C4 is the value your looking for and E4:E10 is the range. If it is 1 the value exists in the range, if 0 it does not.

This is not working either There is a clear match in the first colum but ti still reports 0

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, Tedstonegenious said:

This is not working either There is a clear match in the first colum but ti still reports 0

 

 

What flavor of Excel are you using? Your initial solution seems to work, unless I am not quite understanding your predicament.

Spoiler

CPU: Intel i7 6850K

GPU: nVidia GTX 1080Ti (ZoTaC AMP! Extreme)

Motherboard: Gigabyte X99-UltraGaming

RAM: 16GB (2x 8GB) 3000Mhz EVGA SuperSC DDR4

Case: RaidMax Delta I

PSU: ThermalTake DPS-G 750W 80+ Gold

Monitor: Samsung 32" UJ590 UHD

Keyboard: Corsair K70

Mouse: Corsair Scimitar

Audio: Logitech Z200 (desktop); Roland RH-300 (headphones)

 

Link to comment
Share on other sites

Link to post
Share on other sites

-> Moved to Programs, Apps and Websites

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×