๐ŸŒ
Microsoft Support
support.microsoft.com โ€บ en-us โ€บ office โ€บ and-function-5f19b2e8-e1df-4408-897a-ce285a19e9d9
AND function - Microsoft Support
Here are some general examples of using AND by itself, and in conjunction with the IF function. ... Here is a fairly common scenario where we need to calculate if sales people qualify for a bonus using IF and AND. =IF(AND(B14>=$B$7,C14>=$B$5),B14*$B$8,0) โ€“ IF Total Sales are greater than or equal (>=) to the Sales Goal, AND Accounts are greater than or equal to (>=) the Account Goal, then multiply Total Sales by the Bonus %, otherwise return 0. You can always ask an expert in the Excel Tech Community or get support in Communities.
Discussions

Complicated Lookup Function - Pulling Info From One Sheet To Another
You probably want to use offset as opposed to lookup then. However. vertical is so much better than horizontal (depending on the application) because it is way easier to query. you may also be able to do a pivot from the example you pasted there and put the shop on the top More on reddit.com
๐ŸŒ r/excel
21
6
1 week ago
How to use If function with Or & And function.
The thing to remember is that Excel functions are like maths equations in that they are calculated from the inside out. So always think about what is going on inside the most brackets as you work outwards. For example this: =IF(AND(A1="A", OR(B1="B", C1="C")), 1, 0) Will be 1 if A1 is A, and either B1 is B or C1 is C, because the OR is calculated first and then the result of that is considered for the outer AND. Whereas this: =IF(OR(A1="A", AND(B1="B", C1="C")), 1, 0) Will instead be 1 if either A1 is A, or both B1 and C1 are B and C respectively; again the inner function is computed first, and then the result is fed out into the outer function. More on reddit.com
๐ŸŒ r/excel
7
10
February 26, 2022
๐ŸŒ
W3Schools
w3schools.com โ€บ excel โ€บ excel_and.php
Excel AND Function
Excel Exercises Excel Syllabus Excel Study Plan Excel Certificate Excel Training ... The AND function is a premade function in Excel, which returns TRUE or FALSE based on two or more conditions.
๐ŸŒ
Microsoft Support
support.microsoft.com โ€บ en-us โ€บ office โ€บ use-and-and-or-to-test-a-combination-of-conditions-e1ed88d7-1de3-4422-ae41-45291a69f9e1
Use AND and OR to test a combination of conditions - Microsoft Support
Excel for Microsoft 365 Excel for the web Excel 2024 Excel 2021 Excel 2019 Excel 2016 ยท When you need to find data that meets more than one condition, such as units sold between April and January, or units sold by Nancy, you can use the AND and OR functions together.
๐ŸŒ
Exceljet
exceljet.net โ€บ and function
Excel AND function | Exceljet
May 22, 2024 - The AND function is one of Excel's logical functions. It is designed to test multiple conditions simultaneously and return TRUE only if all the conditions are met. If any condition is not met AND will return FALSE.
Find elsewhere
๐ŸŒ
Curtin
uniskills.library.curtin.edu.au โ€บ digital โ€บ ms-excel โ€บ formulas-and-common-functions
Formulas & common functions - Microsoft Excel Essentials
Logical functions, which check conditions and return results accordingly, are further examples of commonly used functions in Excel. Three examples of such functions are AND, IF and OR, which are often used together.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ excel โ€บ introduction-to-ms-excel
Introduction to MS Excel - GeeksforGeeks
2 weeks ago - Microsoft Excel is a powerful spreadsheet tool from the Microsoft Office suite that organizes data into rows and columns, helping users manage budgets, analyze data, create charts, and handle tasks efficiently.
๐ŸŒ
Reddit
reddit.com โ€บ r/excel โ€บ complicated lookup function - pulling info from one sheet to another
r/excel on Reddit: Complicated Lookup Function - Pulling Info From One Sheet To Another
1 week ago -

***UPDATE: Thank you everyone for the amazing suggestions! It ended up being a much trickier puzzle to master than previously thought and this is the part where I get to say ALL HAIL u/SwngnaMs for figuring it out!

Truly, when I tell you that watching them in action was like watching an extremely skilled martial artist, I mean it. Stunning work - nay, immaculate!

We were able to make it work thanks a few key steps to start (side note: I'm more a visual artist/writer than a masterful spreadsheet developer like some of y'all, so forgive me if I'm not fully explaining things well or using odd metaphors. I'm still in the "I don't know what I don't know" stage of my Excel knowledge", so I'll explain it the best I know how.) -

  1. Moving the large export file with all the data to a tab at the end to pull from (additional steps will be taken to have new exports automatically update in that tab so it's as seamless of a process as possible later).

  2. Some helper cells were created to do some work on the side to help support the main formulas under the shop headers. A metaphorical flying buttress for this cathedral, if you will.

  3. Bolstered by the helper cells, a SUMPRODUCT function was then utilized to pull the exact info we needed from the source data.

So, in summary, the helper cell formulas were as follows in columns X, Y and Z and copied all the way down though the body of the spreadsheet:
=MATCH(A3, Test!A:A, 0)
=AGGREGATE(15, 6, ROW(Test!A:A)/(Test!A:A="Qty available")/(ROW(Test!A:A)>X3), 1)
=AGGREGATE(15, 6, ROW(Test!A:A)/(Test!A:A="")/(ROW(Test!A:A)>Y3), 1)

And the formulas in the cells beneath the shop headers were thus:
=SUMPRODUCT(

(Test!B$1:B$79796=D$1) *

(ROW(Test!A$1:A$79796)>Y3) *

(ROW(Test!A$1:A$79796)<Z3) *

IFERROR(--Test!A$1:A$79796,0)

)

In conclusion - Have you ever wondered what it would be like to build a time machine and travel back Florence in 1504 to see Michelangelo sculpt his statue of David? I don't need to imagine anymore. THANK YOU, u/SwngnaMs!!!

******************

Maybe this isn't as complicated as it seems to be in my head, but essentially I'm trying to pull inventory numbers from one spreadsheet into another. However, the numbers I need to pull in Spreadsheet 1 are listed vertically and I'd like that info to be listed horizontally on Spreadsheet 2.

Here is a quick reference of what I'm trying to achieve. I was able to pull the product names to my second sheet using a VLookup function (woo-hoo!) but trying to pull the inventory numbers by location to Sheet 2 is proving... difficult. Very difficult for me, anyway, especially given how large the spreadsheet is and how the info is formatted. Additionally, some products have additional locations beyond what is listed below - for example a few randomly have a location called "EVENTS", so the Shop Names aren't necessarily consistently placed within the table. So it really needs to be a function that looks up the Qty next to the Shop Name listed under the Item #? Is that even possible?

I've color coded what info I would like to pull and where I need it placed (lighter shades = Info I need pulled, darker shades = shop locations I'm referencing). I hope that makes sense!

SHEET 1 SHEET 2
๐ŸŒ
IONOS
ionos.com โ€บ digital guide โ€บ online marketing โ€บ online sales โ€บ excel formulas
What are Excel functions? An overview of the best functions in Excel
April 23, 2024 - Functions are built-in expressions in Excel that apply a predefined algorithm to arguments (specific values) and return a result. In addition to mathematical calculations, functions can perform logical comparisons, unit conversions and more.
๐ŸŒ
Oreate AI
oreateai.com โ€บ blog โ€บ the-and-function-in-excel โ€บ 2d7bcfee9a790500b3ef9ba761845f72
The AND Function in Excel - Oreate AI Blog
December 22, 2025 - The AND function in Excel is a logical function used to determine if multiple conditions are true at the same time. Its syntax is '=AND(condition1, condition2, condition3...)', where conditions can be numbers, text, or other functions.
๐ŸŒ
Exceljet
exceljet.net โ€บ 101 excel functions you should know
101 Excel Functions you should know | Exceljet
September 27, 2024 - However, the CONVERT function is quite useful for everyday unit conversions. You can use CONVERT to change units for distance, weight, temperature, and much more. ... Excel provides many functions for checking the value in a cell, including ISNUMBER, ISTEXT, ISLOGICAL, ISBLANK, ISERROR, and ISFORMULA These functions are sometimes called the "IS" functions, and they all return TRUE or FALSE based on a cell's contents.
๐ŸŒ
Coursera
coursera.org โ€บ coursera articles โ€บ data โ€บ data analytics โ€บ formula vs. function: whatโ€™s the difference in excel?
Formula vs. Function: Whatโ€™s the Difference in Excel? | Coursera
January 23, 2026 - You, the user, create formulas. This allows for more personalized solutions. In contrast, functions offer predefined capabilities for faster operations. The benefits of using Excel formulas include customization and the ability to save them for use with future spreadsheets.
๐ŸŒ
Corporate Finance Institute
corporatefinanceinstitute.com โ€บ home โ€บ resources โ€บ and function
AND Function - Overview, Formula, Examples, How to Use
November 15, 2024 - The AND Function[1] is categorized under Excel Logical functions. It is used to determine if the given conditions in a test are TRUE.
๐ŸŒ
Exceljet
exceljet.net โ€บ or function
Excel OR function | Exceljet
May 22, 2024 - The Excel OR function is a logical function used to test multiple conditions at the same time. OR returns TRUE if any condition is TRUE. If all conditions are FALSE, the OR function returns FALSE.
๐ŸŒ
Reddit
reddit.com โ€บ r/excel โ€บ how to use if function with or & and function.
r/excel on Reddit: How to use If function with Or & And function.
February 26, 2022 -

Taking a business analytics course and we are going over the if function. The if function is quite simple and I can use the if function with the โ€œandโ€ or โ€œorโ€ function easily. As I progress through the class, I am being asked to use functions that use an if function with an โ€œorโ€ function within an โ€œandโ€ function or vice versa. Any idea on how to understand these functions a bit better?

๐ŸŒ
Exceljet
exceljet.net โ€บ if this and that or that
If this AND that OR that - Excel formula | Exceljet
May 12, 2023 - For example, to "pass" scores above 70: =IF(A1>70,"Pass","Fail"). More than one condition can be tested by nesting IF functions. The IF... The Excel AND function is a logical function used to test multiple conditions at the same time. AND returns ...