monax/order/ - рефераты на заказ (более 800 авторов в 230 городах СНГ).
Министерство образования и науки Украины
Николаевская общеобразовательная школа № 3
Реферат
по информатике
на тему:
Условная функция и логические выражения в электронных таблицах
Microsoft Exel 97.
Подготовила
ученица 11-А класса
Воронова Елена
Проверила
Девяткова В.Н.
2002
Условная функция и логические выражения в электронных таблицах
Microsoft Exel 97.
Условная функция. Общий вид условной функции следующий:
ЕСЛИ(<условие>; <выражение1>; <выражение2>)
Условие — это логическое выражение, которое может принимать значение ИСТИНА или ЛОЖЬ. <выражение 1> и <выражение 2> могут быть числами, формулами или текстами.
Условная функция, записанная в ячейку таблицы, выполняется так: если условие истинно, то значение данной ячейки определит <выражение 1>, в противном случае — <выражение 2>.
Логические выражения. Логические выражения строятся с помощью операций отношения (<, >, <= (меньше или равно), >= (больше или рано), =, <>(не равно)) и логических операций (логическое И, логическое ИЛИ, логическое отрицание НЕ).Результатом вычисления логического выражения являются логические величины ИСТИНА или ЛОЖЬ.
Существуют особенности записи логических операций в табличных процессорах: сначала записывается имя логической операции (И, ИЛИ, НЕ), а затем в круглых скобках перечисляются логические операнды.
И (логическое_значение1; Возвращает значение ИСТИНА, если все аргументы Логическое_значение2; …) имеют значение ИСТИНА; возвращает значение (AND) ЛОЖЬ, если хотя бы один аргумент имеет значение ЛОЖЬ; например, И(2+2=4; 2+3=5) равняется ИСТИНА, если ячейка B4 содержит число между 1 и 100, то И(1<B4; B4<100) равняется ИСТИНА
ИЛИ(логическое_значение1; Возвращает значение ИСТИНА, если хотя бы один
Логическое_значение2; …) аргументов имеет значение ИСТИНА и возвращает
(OR) значение ЛОЖЬ, если все аргументы имеют значение ЛОЖЬ; например, ИЛИ(2+2=4; 2+3=6) возвращает ИСТИНА; если ячейка B4 содержит число меньше 1 или больше 100, то ИЛИ(1<B4; B4>100) возвращает ИСТИНА.
НЕ (логическое_зачение) (NOT) Меняет на противоположное логическоезначение своего аргумента; например НЕ(2+2=5) возвращает ИСТИНА; если ячейка B4 содержит число меньше 1 или больше 100, то НЕ(ИЛИ(1<B4; B4>100)) возвращает ЛОЖЬ
Вложенные логические функции ЕСЛИ.
Формат записи:
=ЕСЛИ(усл.1; выражение В; ЕСЛИ(усл.2; выражение С; ЕСЛИ(…))).
Число вложенных функций в принципе может быть любое, но общая длина строки не должна быть слишком большой.
Пример 1. Найти работников, у которых имеются одновременно задолжен-ности по обоим видам кредита, и удержать от начисленной им суммы 20% в счет погашения кредитов. С остальных работников, имеющих задолженность по какому-либо одному виду кредита, удержать 10% от начисленной им суммы. Работникам, не имеющим задолженности по кредиту, проставить в графе “Удержано”- Б/К. В нашем примере логическая функция будет иметь следующий вид:
=ЕСЛИ(И(С3>0;D3>0);B3*0,2;ЕСЛИ(И(С3=0;D3=0);”б/к”;B3*0,1))
Данная логическая функция означает, что если одновременно задолженности по потребительскому кредиту на жилищное строительство больше нуля, то необходимо удержать 20% с начисленной суммы, если обе задолженности одновременно равны нулю, то необходимо вывести “б/к”, в противном случае необходимо удержать 10% от начисленной суммы.
Пример 2. Разработать таблицу, содержащую следующие сведения об абитуриентах: фамилия, оценки за экзамены по математике, русскому и иностранному языкам, сумма баллов за три экзамена и информацию о зачислении: если сумма баллов больше или равна проходному баллу и оценка за экзамен по математике — 4 или 5, то абитуриент зачислен в учебное заведение, в противном случае — нет.
Решение. Исходной информацией являются фамилии, оценки за экзамены и проходной балл. Сумма баллов и информация о зачислении вычисляются с помощью формул.
Первоначально следует подготовить таблицу в следующем виде:
| А | В | С | D | Е | F |
1 | Проходной | балл: | 13 |
|
|
|
2 | Фамилия | Математика | Русский | Иностранный | Сумма | Зачислен |
3 |
|
|
|
|
|
|
В ячейке С1 будет храниться значение проходного балла — 13. Формула в ячейке ЕЗ вычисляет сумму баллов за три экзамена: ВЗ + СЗ + D3. Формула в ячейке F3 задается с помощью условной функции: ЕСЛИ(И(ЕЗ>=$С$1;ВЗ>3);”ДА”;”НЕТ”)
Условие, записанное с помощью логической операции И, можно расшифровать так: сумма баллов (ЕЗ) >= проходному баллу (С1). И оценка за экзамен по математике (ВЗ) > 3. Если условие выполняется, то в клетке F3 будет отображаться текст — ДА, в противном случае — НЕТ.
Для проходного балла в формуле используется абсолютный адрес $С$1, так как проходной балл является одинаковым и неизменным для всех абитуриентов. После заполнения 3-ей строки формулами, можно произвести копирование соответствующих формул в нижние строки. Формулы в столбцах Е и F после копирования будут выглядеть так:
| … | D | Е | F |
1 | … | … |
|
|
2 | … | … | Сумма | Зачислен |
3 | … | … | B3+C3+D3 | ЕСЛИ(И(ЕЗ>=$С$1,ВЗ>3),“ДА”;“НЕТ”) |
4 | … | … | B4+C4+D4 | ЕСЛИ(И(Е4>=$С$1,В4>3);“ДА”;“НЕТ”) |
5 | … | … | B5+C5+D5 | ЕСЛИ(И(Е5>=$С$1,В5>3),“ДА”;“НЕТ”) |
… | … | … |
|
|
После ввода исходных данных получим таблицу в режиме отражения значений:
| А | В | С | D | Е | F |
1 | Проходной | балл: | 13 |
|
|
|
2 | Фамилия | Математика | Русский | Иностранный | Сумма | Зачисление |
3 | Антонов | 4 | 5 | 5 | 14 | ДА |
4 | Воробьев | 3 | 5 | 5 | 13 | НЕТ |
5 | Синичкин | 5 | 5 | 3 | 13 | ДА |
6 | Воронина | 5 | 4 | 3 | 12 | НЕТ |
7 | Снегирев | 3 | 5 | 4 | 12 | НЕТ |
8 | Соколова | 5 | 5 | 5 | 15 | ДА |
Другие работы по теме:
Задачи по теме "Логические выражения"
В настоящей публикации представлены наиболее удачные задачи по теме "Логические выражения и их запись на языке Pascal", которые были составлены студентами.
Логический тип данных. Операции сравнения
Логические, или булевские, данные предназначены для хранения логических значений "истина" или "ложь". Логические переменные и константы имеют тип Boolean и занимают в памяти 1 байт. Существует всего две логические константы - TRUE и FALSE.
Microsoft Exel
ВОПРОСЫ К ЭКЗАМЕНУ ПО ИНФОРМАТИКЕ 2 семестр Табличные процессоры. Классификация. Табличный процессор Excel. Назначение. Основные приемы работы в Excel: ведение рабочей книги.
Информационные технологии управления
Основные функции категории Логические (формат и примеры) в Excel. Технологии поиска в системе "КонсультантПлюс". Особенности Быстрого поиска в новой программе Технологии ПРОФ как дополнение классических поисковых инструментов в системе "КонсультантПлюс".
Використання табличного процесора Excel для розрахунків
Встановлення і запуск табличного процесора Exel. Елементи вікна Exel, екранні форми, елементи управління. Знаходження з допомогою Excel визначника матриці. Створення таблиць для розрахунку кошторису, поточного обліку товарів, нарахування заробітної плати.
Microsoft A Monopoly Essay Research Paper Microsoft
Microsoft A Monopoly Essay, Research Paper Microsoft a Monopoly? The potential breakup of the Microsoft Corporation is presently one of the most consuming issues in our society. The government has declared Microsoft a monopoly, and could possibly be broken up into three pieces. This has come as a shock to most everyone, because ?Microsoft Windows? is usually the first thing that pops up on almost everyone?s computer when you first turn it on.
Microsoft X Essay Research Paper Microsoft XBoxThe
Microsoft X Essay, Research Paper Microsoft X-Box The Microsoft Corporation has changed the way we look at computers, but can they change anything else? Of course they can. Microsoft has expanded into the gaming world outside of the PC. They are now in competition with Nintendo, Sega, and other major gaming corporations.
Microsoft Essay Research Paper Microsoft has had
Microsoft Essay, Research Paper Microsoft has had a couple of though months since July last year, when Judge Thomas Jackson ordered the company to break up in two. However, since the beginning of this year things have just looked better for Microsoft.
The Microsoft Antitrust Case Essay Research Paper
The Microsoft Antitrust Case The case against Microsoft was brought buy the U.S. Department of Justice, as well as several state Attorneys General. Microsoft is accused of using and maintaining monopoly power to gain an unfair advantage in the market. The case has been under observation for a long time, but the Justice department is having trouble coming up with substantial evidence against Microsoft.
Does Microsoft Have Too Much Power Essay
, Research Paper Does Microsoft Have Too Much Power? Initially, there is nothing. Then, there is Bill Gates the founder of Microsoft. Once a young, eager teenager running a small business of other
Microsoft Report Essay Research Paper Park Place
Microsoft Report Essay, Research Paper Park Place, Boardwalk, Next Stop Microsoft? In the 1920’s and 30’s, Standard Oil became one of the most controlling companies America had ever seen. Under the watchful eye of John Rockefeller, Standard Oil methodically phased out any and all competition. Back then, the government realized what was happening and put into effect the anti-trust law.
Loophole Or A Conspiracy Essay Research Paper
Loophole Or A Conspiracy? Virus, Hmmm I am sure that you have heard this word before. I am not talking about the living virus like an influenza virus. I am talking about the computer virus. According to the New York Times, Microsoft, Compaq, and Hewlett Packards computers are at a great risk. I wonder why we the consumer, are in this position? I cannot come up with one straight answer.
Microsoft Essay Research Paper By running the
Microsoft Essay, Research Paper By running the Internet Microsoft could set up any programs that they wanted to. Also the software buyer would have to sue it because his system (computer) would only be
MicrisoftA Modern Monopoly Essay Research Paper Many
Micrisoft-A Modern Monopoly Essay, Research Paper Many have asked the question of whether Microsoft has turned into a monopoly of the high technology and software industry. This question is an easy one to answer, yes it is. Over the years, Microsoft has used its wealth and influence over the software industry to pull away from the competition by threatening competitors of withdrawing contracts and software deals.
Comparing Operating Systems Essay Research Paper Comparing
Comparing Operating Systems Essay, Research Paper Comparing Microsoft Operating Systems : 95/98/NT This report is centered on the similarities and differences of the three major operating systems provided by Microsoft during the previous decade. There were and will always be changes and upgrades some of the information may not be current, as these systems have had certain upgrade modules that may not covered.
Database Design Essay Research Paper Before you
Database Design Essay, Research Paper Before you use Microsoft Access to actually build the tables, forms, and other objects that will make up your database, it is important to take time to design your database. A good database design is the keystone to creating a database that foes what you want it to do effectively, accurately, and efficiently.
William Wordsworth Essay Research Paper Wordsworths Way
William Wordsworth Essay, Research Paper Wordsworth?s Way of Explaining His Past ?William Wordsworth, English poet, one of the post accomplished and influential of England?s romantic poets, whose theories and style created a new tradition in poetry ? ( Microsoft Encarta 1). Wordsworth began writing poetry when he was still in school, but it wasn?t until 1793 that any of his poems were published. ?Wordsworth?s political and intellectual sympathies underwent a transformation after 1800.
Keats Essay Research Paper John Keats John
Keats Essay, Research Paper John Keats John Keats is one of the finest poets ever to write inEnglish. By the time of his death at the age of 25, he hadaccomplished more than all but the finest writers haveachieved in a full lifetime.”Endymion”, the poem was thefirst major work he undertook.(Microsoft) Keats was born to a family of humble means, the eldestof four children.
Do You Have A Choice In Surfboards
Essay, Research Paper Do You Have a Choice in Surfboards Who owns the Internet? If you were to ask this question to any person familiar with the World Wide Web they most likely would say that nobody owns the “Net”, but in the past few years a major player has stepped onto the Internet scene and they don’t want just a piece of it, they want to dominate the whole thing.
The Microsoft Antitrust Law Suit Essay Research
Paper Recently one of the biggest corporations in the United States, Microsoft had to face several ultimatums from the government. The case against Microsoft was brought by the U.S. Department of Justice, as well as several state Attorneys General. Microsoft is accused of using and maintaining monopoly power to gain an unfair advantage in software market.
Microsoft Antitrust Court Case Essay Research Paper
As this paper is written there is a landmark court case proceeding in Washington in front of a federal judge. This case involves the charging of the Microsoft Corporation for violating antitrust laws set up by the government to preserve market competition. A general overview of the accusations brought against Microsoft by the Justice Department was given by Hayes in the Scholastic Update article The U.S. versus Microsoft (1999).
Microsoft As A Monopoly Essay Research Paper
My position today is proving to you, Your Honor, that Microsoft has used monopolistic practices and market power to foster a non-competitive climate. According to Webster, a monopoly is the exclusive control of a commodity or service in a given market.
Microsoft Essay Research Paper Microsoft the world
Microsoft Essay, Research Paper Microsoft, the world’s largest company by market value, is accused of acting monopolistic in the computer software industry. Microsoft provides for eighty percent of the computers used, operating system. The operating system is a basic program that loads or boots up your computer to make it perform.
Microsoft Monopoly Essay Research Paper By now
Microsoft Monopoly Essay, Research Paper By now everyone is familiar with the case U.S. vs. Microsoft. What is all this about? According to my two articles, Microsoft, the world’s leading software company, is being sued by the Justice Department joined by 19 states.
Bill Gates Essay Research Paper Bill GatesThe
Bill Gates Essay, Research Paper Bill Gates The Chairman and Chief Software Architect of Microsoft William Gates III was born in October 28, 1955. He lived in Seattle with his father who is a Seattle attorney, his mother who was a chairwoman of United Way International, and his two sisters.
Microsoft Essay Research Paper Wednesday many government
Microsoft Essay, Research Paper Wednesday, many government sources confirmed that Justice Department lawyers have proposed splitting Microsoft Corp. as a remedy for the company’s allegedly anti-competitive behavior. The proposal was discussed over the weekend at a secret meeting of officials from the U.S. government and 19 states that have sued Microsoft.
Microsoft Antitrust Editorial Essay Research Paper Microsoft
Microsoft Antitrust Editorial Essay, Research Paper Microsoft: The Big Bully Stealing Your Lunch Money A monopoly, by definition, is a business or group that engages in unfair and often unethical business practices to control an industry and eliminate all competition that might lessen their profits.
Microsoft Anti Trust Case Essay Research Paper
Microsoft Anti-Trust Case In 1890, Congress passed the Sherman Anti-Trust Act. Since then there has been very few companies that have violated this act. In 1911 it was used it to break J.D.
The Evolution Of The PC And Microsoft
Essay, Research Paper The Evolution of the PC and Microsoft Kasey Anderson 2/21/97 Computer Tech. ESSAY Xerox, Apple, IBM, and Compaq all played major roles in the development
Microsoft The Company Essay Research Paper Microsoft
Microsoft The Company Essay, Research Paper Microsoft: THE COMPANY The thought of forming a company which supplies its customers with software, was a great idea–especially coming from a college dropout. Bill Gates, along with high-school friend Paul Allen, formed a software company in 1975. From the beginning, Microsoft had a tremendous potential to become a very successful corporation.
Grand Canyon Essay Research Paper Grand Canyon
Grand Canyon Essay, Research Paper Grand Canyon National Park Grand Canyon National Park was established in 1919. Located in northern Arizona, the park contains the world-famous Grand Canyon of the Colorado River and includes the river?s entire course from the southern end of Glen Canyon to the eastern boundary of Lake Mead (Microsoft Encarta Encyclopedia).
Гейтс (Gates) Уильям (Билл) Генри III
Гейтс (Gates) Уильям (Билл) Генри III (р. 28 октября 1955, Сиэтл, шт. Вашингтон), американский предприниматель и изобретатель в области электронно-вычислительной техники, председатель и CEO компании программного обеспечения Microsoft.