• Front Page
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
  • Search
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy
Menu

ICT & Computing in Education

Articles on education technology and related topics
  • Front Page
  • Newsletters
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
  • Search
  • Info
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy

Section of an artcile records spreadsheet, by Terry Freedman

Using ChatGPT as a search engine

December 20, 2022

Introduction

Although I haven’t been overly impressed with ChatGPT as a creative force, I have to say that I am impressed with it as an alternative to Google.

This afternoon I was trying to figure out how to do something in Google Sheets. No matter how I framed the query in Google, it came up with results I found somewhat unhelpful. Either they were overkill in terms of what I wanted to achieve, or they led to a YouTube video, which I didn’t want to sopend time watching, or they led to someoine trying to sell me some kind of souped-up add-on. I wasted at least half an hour on this quest.

So I typed the query into ChatGPT and it gave me exactly what I was looking for in seconds. Here’s what it said:

My query

In google sheets, how can I add up the number of items in column A that meet a specific criterion AND have the corresponding box in column B tickedin google sheets, how can I add up the number of items in column A that meet a specific criterion AND have the corresponding box in column B ticked.

ChatGPT’s answer

To add up the number of items in column A that meet a specific criterion AND have the corresponding box in column B ticked in Google Sheets, you can use the COUNTIFS function.

The COUNTIFS function allows you to specify multiple criteria to count the number of cells that meet all the criteria.

Here's the syntax for the COUNTIFS function:

Copy code

COUNTIFS(range1, criteria1, [range2, criteria2, ...])

  • range1 is the range of cells that you want to apply the first criteria to

  • criteria1 is the criteria that cells in range1 must meet

  • range2, criteria2, etc. are optional additional ranges and criteria that you can specify

For example, suppose you have a sheet with the following data:

To count the number of items in column A that are "Apples" and have the corresponding box in column B ticked, you can use the following formula:

Copy code

=COUNTIFS(A:A, "Apples", B:B, "X")

This formula will return the result 2, because there are two rows that meet both criteria (rows 1 and 3).

You can use the COUNTIFS function with any criteria that you want. For example, to count the number of items in column A that are not "Apples" and have the corresponding box in column B ticked, you can use the following formula:

Copy code

=COUNTIFS(A:A, "<>Apples", B:B, "X")

This formula will return the result 1, because there is only one row that meets both criteria (row 4).

I tried it out on my own spreadsheet, and it was just what I wanted. Now, I had already worked out that what I needed was probably the Countifs function or, possibly, the AND function. But as I said, the sites that I found which purported to explain how to use it were not exactly easy to apply to my own needs. Thinking about it, the reason the ChatGPT solution worked so well was that it was, in effect, custom-made as an answer to my specific query. I didn’t have to try and translate a complicated setup devised for sales managers into my relatively simple requirement of an article record.

In Using and Teaching Computing & ICT Tags ChatGPT, spreadsheet, AI, artificial intelligence
← Season's greetings!On This Day: Why I Dread The Thought Of Benign Algorithms (Updated) →
Recent book reviews
The Learning Rainforest Great Teaching in Real Classrooms Great Teaching in Real Classrooms.jpg
Review: The Learning Rainforest: Great Teaching in Real Classrooms

This is a great book for dipping into in order to read about different teaching and assessment strategies, backed up by research.

Read more →
Outstanding Formative Assessment Culture and Practice.jpg
Review: Outstanding Formative Assessment: Culture and Practice

This book contains numerous assessment for learning techniques.

Read more →
New Media in the Classroom Rethinking Primary Literacy.jpg
Review: New Media in the Classroom: Rethinking Primary Literacy

This provides a great deal of information about the different aspects of "literacy” and how digital tools can be brought into the service of literacy in the primary school.

Read more →
Designing the internet of things.jpg
Review: Designing the internet of things

This book takes you through the process of designing connected devices from prototyping to launching.

Read more →
Uneducated.jpg
Quick look: (Un)educated: My Life as a Teacher, and Why You Should Never Become One

“Some of it is laugh-out loud funny, but some of it, about his reference being spiked, made me angry …”

Read more →
Hot TYpe.jpg
A Heads-up: Hot Type: The Magnificent Machine that Gave Birth to Mass Media and Drove Mark Twain Mad

This is about the invention of linotype, and its consequences.

Read more →
The new dark ages.jpg
Are we in, or entering, a post-literate society?

I know that there are people who think that Tik-Tok videos and other (very) short-form content is a kind of literacy that’s on a par with reading, but I have my doubts.

Read more →
amazing worlds.jpg
Review: Amazing Worlds

A very good showcase for what can be achieved from a partnership between imagination and AI.

Read more →
The Batsford Book of Chess for Children.jpg
Review: The Batsford Book of Chess for Children New Edition: Beginner’s chess for kids

This book doesn’t have any education technology, but I think the game of chess is a worthwhile activity for kids for developing strategic thinking skills.

Read more →
Flattening Classrooms, Engaging Minds.jpg
Review: Flattening Classrooms, Engaging Minds: Move to Global Collaboration One Step at a Time (Pearson Resources for 21st Century Learning)

The authors of this book, ran several projects which entailed collaboration between students in classrooms in different countries.

Read more →
Dig+Ed+Banner.jpg

Contact us

Privacy

Cookies

Terms and conditions

This website is powered by Squarespace

(c) Terry Freedman All Rights Reserved