Jump to content

excel gurus Help needed


kittaya

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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...