Jump to content

excel gurus Help needed


Recommended Posts

Posted

Apple , 11/16/2023

Apple , 11/16/2023 

Mango , 11/18/2023

Apple , 11/18/2023

Mango, 11/18/2023

 

 

I need result 

                         Apple              Mango

11/16/2023      2                          0

 

11/18/2023      1                       2

Posted
13 minutes ago, kittaya said:

Apple , 11/16/2023

Apple , 11/16/2023 

Mango , 11/18/2023

Apple , 11/18/2023

Mango, 11/18/2023

 

 

I need result 

                         Apple              Mango

11/16/2023      2                          0

 

11/18/2023      1                       2

Banana61r4rAwtE8L.jpg

  • Haha 1
Posted
15 minutes ago, kittaya said:

Apple , 11/16/2023

Apple , 11/16/2023 

Mango , 11/18/2023

Apple , 11/18/2023

Mango, 11/18/2023

 

 

I need result 

                         Apple              Mango

11/16/2023      2                          0

 

11/18/2023      1                       2

Import with , separation, sort based on date, extend sort. 

Posted

Certainly! To achieve this in Excel, you can use the COUNTIFS function. Assuming your data is in columns A and B, and the dates are in rows 1 and 2, you can enter the following formulas:

For the count of Apples on 11/16/2023:
```excel
=COUNTIFS($A$1:$A$5,"11/16/2023",$B$1:$B$5,"Apple")
```

For the count of Mangos on 11/16/2023:
```excel
=COUNTIFS($A$1:$A$5,"11/16/2023",$B$1:$B$5,"Mango")
```

Repeat the process for 11/18/2023.

Your Excel sheet should look like this:

```
             A                B
1    11/16/2023      11/18/2023
2        2                   1         (Apple)
3        0                   2         (Mango)
```

You can adjust the ranges and cell references based on your actual data structure. Let me know if you need further clarification!

  • Like 1
Posted
25 minutes ago, kittaya said:

Apple , 11/16/2023

Apple , 11/16/2023 

Mango , 11/18/2023

Apple , 11/18/2023

Mango, 11/18/2023

 

 

I need result 

                         Apple              Mango

11/16/2023      2                          0

 

11/18/2023      1                       2

chatgpt unaka ednuku tension padthunav anna nee data leni column like D1 poyi idi paste cheyi

=ARRAYFORMULA(QUERY({UNIQUE(B:B), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Apple"), 0), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Mango"), 0)}, "SELECT Col1, Col2, Col3 LABEL Col1 'Date', Col2 'Apple', Col3 'Mango'", 0))

  • Upvote 2
Posted
10 minutes ago, csrcsr said:

chatgpt unaka ednuku tension padthunav anna nee data leni column like D1 poyi idi paste cheyi

=ARRAYFORMULA(QUERY({UNIQUE(B:B), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Apple"), 0), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Mango"), 0)}, "SELECT Col1, Col2, Col3 LABEL Col1 'Date', Col2 'Apple', Col3 'Mango'", 0))

abbaa-em-vaadakam-brahmi.gif

  • Haha 1
Posted
6 minutes ago, dasari4kntr said:

pivot option try cheyyi…

 

its very simple if you use pivot..you dont have to write any formulas…

I was gonna say and you beat me to it. Pivot tables are for that purpose.

  • Haha 1
Posted
3 minutes ago, Konebhar6 said:

I was gonna say and you beat me to it. Pivot tables are for that purpose.

excel paina konchem baane idea vundi…

  • Upvote 1
Posted
43 minutes ago, Android_Halwa said:

Certainly! To achieve this in Excel, you can use the COUNTIFS function. Assuming your data is in columns A and B, and the dates are in rows 1 and 2, you can enter the following formulas:

For the count of Apples on 11/16/2023:
```excel
=COUNTIFS($A$1:$A$5,"11/16/2023",$B$1:$B$5,"Apple")
```

For the count of Mangos on 11/16/2023:
```excel
=COUNTIFS($A$1:$A$5,"11/16/2023",$B$1:$B$5,"Mango")
```

Repeat the process for 11/18/2023.

Your Excel sheet should look like this:

```
             A                B
1    11/16/2023      11/18/2023
2        2                   1         (Apple)
3        0                   2         (Mango)
```

You can adjust the ranges and cell references based on your actual data structure. Let me know if you need further clarification!

Super Mava... ide anukunta unna... ela cheyyalo ardm kalaaa 

Thanks 

Posted
36 minutes ago, csrcsr said:

chatgpt unaka ednuku tension padthunav anna nee data leni column like D1 poyi idi paste cheyi

=ARRAYFORMULA(QUERY({UNIQUE(B:B), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Apple"), 0), IFERROR(COUNTIFS($B$1:$B$1000, UNIQUE(B:B), $A$1:$A$1000, "Mango"), 0)}, "SELECT Col1, Col2, Col3 LABEL Col1 'Date', Col2 'Apple', Col3 'Mango'", 0))

idi ardm chesukoni nenu chese lopala nenu sachipothaaaa 

Posted
11 minutes ago, dasari4kntr said:

pivot option try cheyyi…

 

its very simple if you use pivot..you dont have to write any formulas…

ok Mava

Posted
1 minute ago, dasari4kntr said:

excel paina konchem baane idea vundi…

nenu oka 3-4 yrs nundi .. stocks thokka tholu ani bane use chasa. But mostly google sheets. 

Posted
14 minutes ago, dasari4kntr said:

pivot option try cheyyi…

 

its very simple if you use pivot..you dont have to write any formulas…

Nice and super fast

Posted
13 minutes ago, dasari4kntr said:

pivot option try cheyyi…

 

its very simple if you use pivot..you dont have to write any formulas…

adhe kadha… pivot undanga… ememo formulas rasirru pina…

this is what chatgpt can do to human intellect..

 

  • Haha 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...